[jQuery] Re: Is there an Event.stop for hrefs?

2008-04-06 Thread Michael Sharman
.preventDefault.28__.29 > > $('a').click(function(e) { e.preventDefault(); }); > > --Erik > > On 4/6/08, Michael Sharman <[EMAIL PROTECTED]> wrote: > > > > > Hi guys, > > > I am "listening" for an href click in my document.ready function

[jQuery] Is there an Event.stop for hrefs?

2008-04-06 Thread Michael Sharman
Hi guys, I am "listening" for an href click in my document.ready function and I want to make sure the href isn't followed by the browser for users who have javascript turned on, and is followed by users who have javascript turned off. This is my href: http://mysite.com/gohere.html"; id="hrefCrea

[jQuery] Error returned from .ajax POST

2007-05-25 Thread Michael Sharman
Hi guys, I am getting an error returned from an .ajax call "SyntaxError: missing ; before end statement" $.ajax({ async: true, type: 'POST', url: '/index.cfm?event=someevent', dataType: 'json', data: 'myId=2'

[jQuery] Re: DOM issues with an AJAX loaded form

2007-05-16 Thread Michael Sharman
gt; > I think this tutorial will help you solve the problem: > > http://docs.jquery.com/Tutorials:AJAX_and_Events > > --Karl > _____ > Karl Swedbergwww.englishrules.comwww.learningjquery.com > > On May 16, 2007, at 9:49 AM, Michael Sharman wrote: > > >

[jQuery] Re: DOM issues with an AJAX loaded form

2007-05-16 Thread Michael Sharman
to validate exactly like the first form. Michael On May 16, 11:26 pm, "Jake McGraw" <[EMAIL PROTECTED]> wrote: > Mike: > > Do you have a live example? > > - jake > > On 5/16/07, Michael Sharman <[EMAIL PROTECTED]> wrote: > > > > > Hi guys

[jQuery] DOM issues with an AJAX loaded form

2007-05-16 Thread Michael Sharman
Hi guys, I have a page which contains javascript validation for an existing form. There is also a link where another form can be loaded onto the page via ajax, this step is working fine. My problem is that the validation/submission code in the page header isn't picking up my *new* form (from the