Access the 'action' attribute of html form
1 posts in topic
Flat View  Flat View

Posted By:   rajdeep_paul
Posted On:   Wednesday, August 8, 2007 06:00 PM

How do I access the html form attribute 'action' when there is a form element named 'action' inside the form.


In the above scenario, everytime i do a "form.action", it returns me the form element 'action' instead of the attribute 'action'.

Thanks in advance.


Re: Access the 'action' attribute of html form

Posted By:   Firat_Tiryaki  
Posted On:   Tuesday, August 14, 2007 08:57 AM

change the hidden input's name, avoid using reserved words like "action", "target", "submit", etc...
About | Sitemap | Contact