Click to See Complete Forum and Search --> : Disable entire span tag


PisgahMan
03-22-2003, 08:17 PM
If you have a span tag with several tables in it can you disable the span so that all the elements inside are disable? If not can you get a list of the elements inside a span tag? I need it to be disabled, not just hidden. Thanks

PisgahMan
03-22-2003, 08:59 PM
will this disable each input field in the span tag? It looks like it has grayed out on the screen, but I can still type in the fields.

PisgahMan
03-22-2003, 09:12 PM
will this disable each input field in the span tag? It looks like it has grayed out on the screen, but I can still type in the fields.

PisgahMan
03-22-2003, 09:37 PM
here is the situation - a graphic designer made the page in dreamweaver so that there are 7 different span tags with basically the same fields. like this

<span1>
<input name="city">
</span1>
<span2>
<input name="city">
</span2>

when I submit this page to the COM objects, if more than one field with the same name is one the page, then I get an error. However if an input field is disabled, it will be ignored. How can I disable all fields in span2 ?

By the way, if you are thinking why not just un-screw the dreamweaver stuff, it's b/c we have a very tight deadline and I am trying to cut down on my amount of work.

I know I could alter the innerhtml to be "", and then change it back , I there must be a better way.

PisgahMan
03-23-2003, 11:07 AM
Thanks, I'll try that when I get a min and let you know