Re: [jQuery] a fix for getAttribute('action') in forms

2006-08-27 Thread Renato Formato
Jörn Zaefferer ha scritto: > > Why do you consider an input element with the name 'action' an attribute > of the parent form? I'm not sure how form.js works, but I see no bug here. > > -- Jörn > It's not Fil, it is IE that considers attributes and properties the same thing. If you have an inpu

Re: [jQuery] a fix for getAttribute('action') in forms

2006-08-27 Thread Renato Formato
Fil ha scritto: > Hello, > > there is (apparently) a bug in MSIE if we use getAttribute('action') on a > form, because it will give us the action property of the form, instead of > the value of its "action" input. > > Example : > > > > > > this.getAttribute('action') should be "ok", not "u

Re: [jQuery] a fix for getAttribute('action') in forms

2006-08-27 Thread Jörn Zaefferer
Fil wrote: > Hello, > > there is (apparently) a bug in MSIE if we use getAttribute('action') on a > form, because it will give us the action property of the form, instead of > the value of its "action" input. > Why do you consider an input element with the name 'action' an attribute of the par

[jQuery] a fix for getAttribute('action') in forms

2006-08-27 Thread Fil
Hello, there is (apparently) a bug in MSIE if we use getAttribute('action') on a form, because it will give us the action property of the form, instead of the value of its "action" input. Example : this.getAttribute('action') should be "ok", not "url". A fix for this is to use: this.getA