From: Mike B. <gar...@ya...> - 2002-10-11 14:55:24
|
> Unfortunatley I have JavaScript code that does just that, > form_main.action.value="foo", and it works in IE 5.5 and > Netscape 4.79. Interesting. I assume then that if you have an input called "action" then you will have no access to the action attribute of the form itself. It seems bizarre but if this is the way the browsers implement it then I'll change HtmlUnit to do the same. I'll have to experiment to see if this holds true for all attributes on form (action, id, enctype, method etc) in the various browsers. > However, this experience has convinced me that naming an > input element 'action' is probably not a great idea. :-D -- Mike Bowler Principal, Gargoyle Software Inc. Voice: (416) 822-0973 | Email : mb...@Ga... Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca |