[jQuery] Re: IE7 odd bug with val()

2007-12-10 Thread MarcelloP
Thank you Dave, but for now I can't put the page online, the code is stil under heavy development. On Dec 10, 6:26 pm, sawmac <[EMAIL PROTECTED]> wrote: > > in the showSectionActionsDialog function IE give the error "Object > > doesn't support this property or method" when trying to get the v

[jQuery] Re: IE7 odd bug with val()

2007-12-10 Thread MarcelloP
Searching on the net for simila problems, I've found this: http://www.webdeveloper.com/forum/showthread.php?t=100586 and so I've changed my code: previous: sectionId = $("input.sectionId", $(el)).val(); actions = $("input.sectionAction", $(el)).val(); // HERE IE7 goes mad!!

[jQuery] Re: IE7 odd bug with val()

2007-12-10 Thread MarcelloP
Thanks Dave, I've assigned an id and a name attr to my html, so now it validate. But with IE7 stil doesn't work. On Dec 10, 6:59 pm, Dave Methvin <[EMAIL PROTECTED]> wrote: > > The code for .val() assumes there is an element in the > > jQuery object and will generate an error similar to the one

[jQuery] Re: IE7 odd bug with val()

2007-12-10 Thread sawmac
> in the showSectionActionsDialog function IE give the error "Object > doesn't support this property or method" when trying to get the value > of the "actions" variable Marcello, I tried the snippet you sent and IE 7 didn't spit out any errors. Do you have a page online that's causing the e

[jQuery] Re: IE7 odd bug with val()

2007-12-10 Thread Dave Methvin
> The code for .val() assumes there is an element in the > jQuery object and will generate an error similar to the one you > describe if there is no element selected. Let me correct myself here; .val() returns "undefined" if there is no element in the current jQuery object.

[jQuery] Re: IE7 odd bug with val()

2007-12-10 Thread Dave Methvin
> in the showSectionActionsDialog function IE give the error "Object > doesn't support this property or method" when trying to get the value > of the "actions" variable Make sure that $("input.sectionAction", $(el)) is actually returning an element. The code for .val() assumes there is an ele