Benultra1
|
| Posted: 06/08/2005, 8:14 PM |
|
Currently when codecharge places a form object onto a page, there is a name attribute for the object in the HTML. Is there anyway of getting codecharge to add the ID fields as well, with the same value as the Name Attribute.
Below is an example of what codecharge produces know!
<input type="hidden" name="{Object_Name}" value="{Object}">
What I would like it to produce
<input type="hidden" name="{Object_Name}" id="{Object_Name}" value="{Object}">
Could this be done by editing XML component in codecharge?
The reason I want to do this, is that Mozilla based browsers use the id attribute when referencing objects on the page in javascript.
Any Ideas other than continualy going in and adding the attribute?
|
|
|
 |
marcwolf
Posts: 361
|
| Posted: 06/09/2005, 7:20 PM |
|
This is something I have asked for in the Wish List and it has been indicated that its in the To Do list
In addition changing the ID value would be to have the
FORMNAME_CONTROLNAME
Thus uniquely idenfying a control on a page. I use the getElementById a lot as it is the safest cross browser call to find a control.
At the moment I have to do this manually..
Take care
Dave
_________________
' Coding Coding Coding
Keep Those Keyboards Coding.
Raw Code!!!!!!!
|
 |
 |
|