Hi All,

I have a list which is being populated dynamically from the database.I
am trying to capture the value of the list items (using click
function) and pass it to a query to get the result set.The value
attribute has been deprecated for LI.Please tell me a way to capture
the LI value.

<ul id="developerul">
 <li value='1'>One</li>
<li value='2'>Two</li>
<li value='3'>three</li>
</ul>
 For the above I have tried
$("#developerul".children())
and also $(this).children()
But does not work.


-------------------------------------
And also how can we concatenate a ID value
ID="thelistItems"
the result should be "thelistItems_11130".

$("#thelistItems+ _ + 11130").append(txt);


Thanks

Reply via email to