CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   JavaScript frameworks (http://www.codingforums.com/forumdisplay.php?f=62)
-   -   JQuery Troubles (http://www.codingforums.com/showthread.php?t=283170)

herders 11-28-2012 10:05 PM

JQuery Troubles
 
Hello All,

I have the following tag:
<input type="hidden" name="ctl00$CPH1$hidPage" id="ctl00_CPH1_hidPage" />

although I do not know the id until runtime, I do know that *hidPage will be unique on the page.

how can I find this tag using JQuery?

Thanks

Jack

DanInMa 11-29-2012 07:02 AM

$('input[id$="hidPage"]') = any input type element with an id that ends in hidPage

ref - http://api.jquery.com/category/selectors/


All times are GMT +1. The time now is 07:37 AM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.