G
Guest
Hi folks, I'm using ASP.net with Framework 1.1 and C#
to go into my actual problem and fully explain would take more than any of
us could take (me writing it, you reading it)
however I can boil down one baffling aspect into a nutshell
I know about getElementById(' ') and it takes the literal id of a control,
or a variable with that value in it. I also know that you can get all
elements that are of a certain type using a wildcard...
what would be great is if you can give a wildcard to the getElementById
method
the reason being that the textbox I want to write back to in the grid is
called txtUserId in the declarative HTML , but DGMappings_ctl4_txtuserId on
the actual page
the 4 being the 3 rd of the datagrid...
so any wildcard ways of getting an element by ID or any suggested workarounds?
Regards and thanks in advance
CharlesA
to go into my actual problem and fully explain would take more than any of
us could take (me writing it, you reading it)
however I can boil down one baffling aspect into a nutshell
I know about getElementById(' ') and it takes the literal id of a control,
or a variable with that value in it. I also know that you can get all
elements that are of a certain type using a wildcard...
what would be great is if you can give a wildcard to the getElementById
method
the reason being that the textbox I want to write back to in the grid is
called txtUserId in the declarative HTML , but DGMappings_ctl4_txtuserId on
the actual page
the 4 being the 3 rd of the datagrid...
so any wildcard ways of getting an element by ID or any suggested workarounds?
Regards and thanks in advance
CharlesA