id ophalen dmv this
- Raoul -
05/12/2010 01:56:29Hoi,
Ik heb dus een onclick met Javascript dmv this
Hoe kan ik dan de id krijgen?
Zoiets als this.tagName, maar dat is dan weer voor de tag.
Ik heb dus een onclick met Javascript dmv this
Hoe kan ik dan de id krijgen?
Zoiets als this.tagName, maar dat is dan weer voor de tag.
PHP hulp
25/12/2024 03:40:12A b
05/12/2010 02:14:26met this.id krijg je het ID
// HTML
<div id="Hello-World" onclick="helloWorld(this);">Uguu</div>
// JS
function helloWorld(obj){
alert(obj.id);
}
// HTML
<div id="Hello-World" onclick="helloWorld(this);">Uguu</div>
// JS
function helloWorld(obj){
alert(obj.id);
}
Gewijzigd op 05/12/2010 02:32:41 door A b
- Raoul -
05/12/2010 03:28:52shen huan
07/12/2010 07:25:30Sutton Collection is regarded as one of the most famous and prestigious fashion brand briefcase around theHamptons Collection world. You may find the most affordable Coach briefcases here while high quality can be guaranteed.
The products like Discount Coach Purses , Coach Handbags, and Coach Purses from Coach are very popular and have good quality. We've organized quite a few of the Coach favorites and standards to make shopping easier for you.
The products like Discount Coach Purses , Coach Handbags, and Coach Purses from Coach are very popular and have good quality. We've organized quite a few of the Coach favorites and standards to make shopping easier for you.