without wrapping jQuery search result
- by uzay95
ASP.NET is changing id, name values according to control's parent control name. That's why i am searching id with JQUERY as below.
// $ is looking to the end of "id" attribute of input elements
$("input[id$='cbAddToNews']")
Only one element is returning by jQuery. But when i want to change the attribute, I'm using this syntax:
$($("input[id$='cbAddToNews']")[0]).show()
Is there any way to do this without wrapping it with $(...[0]) ?