6
rated 0 times
[
10]
[
4]
/ answers: 1 / hits: 106108
/ 14 Years ago, mon, august 2, 2010, 12:00:00
I have a page with several div's. All of the divs have a unique id. I would like to send that id to a javascript function. I have tried to save it as a value as well, and send this.value, but that does not work either.
<div class='recordElem$val' id='$rname' value='$rname'
onclick='javascript:updateRecord(this.value);'>
$name</div>
More From » html