[jQuery] Re: "on click" doesn't work!
Yeah I had to change the "onclick" function to "onchange" and everything works just wonderful!!! Thanks the both of you for all your help!! :) Miri. 2008/11/5 MorningZ <[EMAIL PROTECTED]> > > Juts like Andy says > > http://pastebin.com/m4cbd67f > > btw, you wanted to use "change", not "click" (as my code shows and > works) > > > > On Nov 5, 12:49 pm, "Andy Matthews" <[EMAIL PROTECTED]> wrote: > > It might help if you moved the jQuery code out of the HTML. It would help > > you focus on each seperately which could assist you in finding the > problem. > > Plus, if you're just going to use jQuery inline, then why bother with > using > > it at all? > > > > andy > > > > -Original Message- > > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On > > > > Behalf Of Miri > > Sent: Wednesday, November 05, 2008 10:53 AM > > To: jQuery (English) > > Subject: [jQuery] "on click" doesn't work! > > > > Hi everyone! > > I've been trying to find the problem in the code below, but I have no > idea > > what it is. > > The problem is with the "on click" option - it just doesn't work.. > > Can anyone please help me?!?! > > Thanks very much in advance.. > > Miri. > > > > The code: > > # > > > > # > > Do you want to subscribe to our newsletter? # > > > > # > > > > # > > > type="radio" name="subscribe" value="1" /> # > > Yes, I want to subscribe # > > > > # > > > > # > > > type="radio" name="subscribe" value="0" /> # > > No, thanks > > # > > > > # > > > > # > > > > # > > Email Address: > > # > ># > > > > # > > > > # > > >
[jQuery] Re: "on click" doesn't work!
Juts like Andy says http://pastebin.com/m4cbd67f btw, you wanted to use "change", not "click" (as my code shows and works) On Nov 5, 12:49 pm, "Andy Matthews" <[EMAIL PROTECTED]> wrote: > It might help if you moved the jQuery code out of the HTML. It would help > you focus on each seperately which could assist you in finding the problem. > Plus, if you're just going to use jQuery inline, then why bother with using > it at all? > > andy > > -Original Message- > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On > > Behalf Of Miri > Sent: Wednesday, November 05, 2008 10:53 AM > To: jQuery (English) > Subject: [jQuery] "on click" doesn't work! > > Hi everyone! > I've been trying to find the problem in the code below, but I have no idea > what it is. > The problem is with the "on click" option - it just doesn't work.. > Can anyone please help me?!?! > Thanks very much in advance.. > Miri. > > The code: > # > > # > Do you want to subscribe to our newsletter? # > > # > > # > type="radio" name="subscribe" value="1" /> # > Yes, I want to subscribe # > > # > > # > type="radio" name="subscribe" value="0" /> # > No, thanks > # > > # > > # > > # > Email Address: > # > # > > # > > # >
[jQuery] Re: "on click" doesn't work!
It might help if you moved the jQuery code out of the HTML. It would help you focus on each seperately which could assist you in finding the problem. Plus, if you're just going to use jQuery inline, then why bother with using it at all? andy -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Miri Sent: Wednesday, November 05, 2008 10:53 AM To: jQuery (English) Subject: [jQuery] "on click" doesn't work! Hi everyone! I've been trying to find the problem in the code below, but I have no idea what it is. The problem is with the "on click" option - it just doesn't work.. Can anyone please help me?!?! Thanks very much in advance.. Miri. The code: # # Do you want to subscribe to our newsletter? # # # # Yes, I want to subscribe # # # # No, thanks # # # # Email Address: # # # #