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

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('