c# - How to access repeater items from JavaScript -
I have got a hidden control inside the repeater. How can I get it from javascript?
Are you using JQuery? This can be easily done by:
$ ("# & lt;% = repeater1.ClientID%>"). ("Input [type = 'hidden']" / code>
Which whole repeater diarrhea; Because each item does not present a cover around it (for example a div or a table), Search is done by searching the HTML tree altogether Otherwise, you have to loop through each element, or wrap each item with a div and enter it into the hair nodes collection of that div, and it will be more of pain without JQuery. But very likely Is.
Actiac.
Comments
Post a Comment