I am creating a webpage which will retreive some form data from lots of other pages. For instance a hidden form field:
<input type="hidden" id="thefield" value="thegoods" />
Now this field will always have the same ID, but is sometimes written with double quotes ("), sometimes single (') and sometimes none. So this makes it more difficult to just do an "indexof" to retreive the required data.
Is there any way in c#.net to retreive the value of form elements in a jquery kind of way.
So I can just specify the elements ID, and it's value is returned.
Any help appreciated.
Thanks
Grant Unwin