Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
Quote:
I want my page to be valid xhtml therefore i cannot have the name attribute.
None of your responses actually solved my problem
other than change it to the name attrube is there anything I can to to make sure the server passes the id attribute to the post request.
|
To correct this, you would need to follow the same path than when the target property was reimplemented using javascript :
Code:
var aryElm=document.getElementByTagName('input')
for(cptElm=0;cptElem<aryElm.length;cptElm++){
elm=aryElm[cptElm];
elm.name=elm.id;
}
Like this, your xhtml is valid, and the browser will alter it on load time to re-create the name attribute.
Messy, but if xhtml validation is that much important to you and the deprecation to transitional is out of the equation, your only route...
__________________
Only a biker knows why a dog sticks his head out the window.
|