[jQuery] Re: Debuging AJAX

2009-11-27 Thread Rockinelle
I was not aware that leading digits was invalid markup. Thanks. I found my problem. Looking at other examples, they were returning false in the post callback function. That fixed my issue. Does it just require a return statement of any value to properly execute that function? On Nov 26, 10:55 am,

RE: [jQuery] Re: Debuging AJAX

2009-11-26 Thread Andreas Möller
I'm not sure whether this would be an issue with jQuery, but I'm sure you agree that setting the ID attribute of a DOM element to a value that starts with a digit is not correct, at least it does not produce valid XHTML. Best regards, Andreas

[jQuery] Re: Debuging AJAX

2009-11-26 Thread Rockinelle
Here's a link to a screenshot of my console. When I click the form this displays for a moment before the page reloads and the console is refreshed. To view this I have to hit the stop bottom before it reloads the page. It reloads because there isn't a value in the action attribute of the form. htt

Re: [jQuery] Re: Debuging AJAX

2009-11-25 Thread Peter Edwards
Hey, don't use document.write() or alert() to debug - either use console.log() or have a div in the document which can display debugging information and append any data to it. $('#testform').live('submit',function(){ var formData = $(this).serialize(); console.log(formData); $.post('

[jQuery] Re: Debuging AJAX

2009-11-25 Thread Rockinelle
Any new eyes out there? Not sure why this got changed to accessibility discussion. On Nov 24, 4:46 pm, Rockinelle wrote: > Hey everyone, > > I've been trying to make a .post work for me and I'm using firebug to > attempt to debug my problems. I am trying to use ajax to process a > form and from w