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

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -