That's great though I am not sure it is worth complicating jquery for. It's a very marginal sort of bug I think.
Thanks, Peter Ariel Flesler wrote: > There's already a patch for this but needs to be tested quite much. > > Note that this wasn't introduced on jQuery 1.2.6. Same happened (at > least on IE) when using 1.2.3. > 1.2.6 works better than 1.2.3 as attributes like id, name, etc are > correctly retrieved from forms, while 1.2.3 was failing. > > The patch will surely be included on a further release. > > Cheers > -- > Ariel Flesler > http://flesler.blogspot.com > > On 31 mayo, 13:53, Peter <[EMAIL PROTECTED]> wrote: > >> If a form has a child element (eg a select) whose 'name' attribute is >> 'action' then the line: >> $("form").attr("action","newaction.php") fails silently. Line 1070 of >> jquery.js (1.2.6) is >> elem[name]=value which equates to elem['action']='newaction.php'. But >> the value >> of elem[name] is the child element, not the action attribute. (I have >> an example) >> It is easily avoided but I thought it worth bringing up - and is there >> anywhere that I could post >> this and the example so people could find it? I am fairly new to >> jquery - which >> I'm preferring to prototype now. >> >> Peter >> > >