Re: [jQuery] Ajax numpty, stumbling around

2006-09-24 Thread Jörn Zaefferer
Klaus Hartl schrieb: If desired I would put it on the jQuery blog. Or add that to the cookbook section. Or both - I'm all open... Actually I added it to the Wiki already: http://jquery.com/docs/ProgressiveEnhancement/ -- Jörn ___ jQuery mailing

Re: [jQuery] Ajax numpty, stumbling around

2006-09-24 Thread Jörn Zaefferer
Klaus Hartl schrieb: Ah, btw, I made a little error here. This is correct: $('#hijax-me').submit(function() { return false; }); Ye gods! Updated the wiki entry :-) -- Jörn ___ jQuery mailing list discuss@jquery.com

Re: [jQuery] Ajax numpty, stumbling around

2006-09-23 Thread Klaus Hartl
Rey Bango schrieb: Awesome explanation Klaus and what you're saying makes total sense! You should definitely speak with Yehuda about doing a writeup on this. This is great info. Rey... Thank you Rey and Bryan. If desired I would put it on the jQuery blog. Or add that to the

Re: [jQuery] Ajax numpty, stumbling around

2006-09-23 Thread Klaus Hartl
Klaus Hartl schrieb: $('#hijax-me').submit({ return false; }); Ah, btw, I made a little error here. This is correct: $('#hijax-me').submit(function() { return false; }); -- Klaus ___ jQuery mailing list discuss@jquery.com

[jQuery] Ajax numpty, stumbling around

2006-09-22 Thread Mark Harwood
Right, First of id like to give a big thanks to all you on the jQuery list that have helped me while i get my head wrapped around the basics of jQuery, the help ive had of this list has been great and really helped me. For months now i have put of doing anything AJAX related as i just didnt

Re: [jQuery] Ajax numpty, stumbling around

2006-09-22 Thread Dan Atkinson
I would consider hashing the username and password in the script before submitting, as you'd effectively be sending unencrypted personal data over a HTTP connection. That's not so good, and I think users would complain. Mark Harwood-2 wrote: Any help you can provide will be great, as ive not

Re: [jQuery] Ajax numpty, stumbling around

2006-09-22 Thread Mark Harwood
Thats very true Dan, but at the moment im just trying to figure out how it all works - security will come once i actualy get my head around AJAX :D -- mark Dan Atkinson wrote: I would consider hashing the username and password in the script before submitting, as you'd effectively be sending

Re: [jQuery] Ajax numpty, stumbling around

2006-09-22 Thread Rey Bango
Hi Mark, I threw up some code so you can see a very simple Ajax call that should help you out: http://www.intoajax.com/harwood.htm Look at the source and the comments will explain whats happening. As for php, one of the community members, Mike Alsup, helped me out with an issue and he sent

Re: [jQuery] Ajax numpty, stumbling around

2006-09-22 Thread Mark Harwood
Hi Rey, Thanks alot for that test page, i have just managed to find out about the .val() function on the visualjquery site. It worked wonders and ive got the login page working great now :) But thanks for the page you have knocked up, i shall have a good look at how you have done the AJAX

Re: [jQuery] Ajax numpty, stumbling around

2006-09-22 Thread Klaus Hartl
Rey Bango schrieb: Hi Mark, I threw up some code so you can see a very simple Ajax call that should help you out: http://www.intoajax.com/harwood.htm Look at the source and the comments will explain whats happening. As for php, one of the community members, Mike Alsup, helped me

Re: [jQuery] Ajax numpty, stumbling around

2006-09-22 Thread Rey Bango
I'm going to update it again Mark, since I realized that I didn't get you code to serialize your form fields. Rey.. Mark Harwood wrote: Hi Rey, Thanks alot for that test page, i have just managed to find out about the .val() function on the visualjquery site. It worked wonders and ive

Re: [jQuery] Ajax numpty, stumbling around

2006-09-22 Thread Rey Bango
Hi Mark, I updated the sample slightly so you could see an actual ajax call that included serializing form vars and then returning what you typed in. http://www.intoajax.com/harwood.htm HTH. Rey Mark Harwood wrote: Hi Rey, Thanks alot for that test page, i have just managed to find out

Re: [jQuery] Ajax numpty, stumbling around

2006-09-22 Thread Rey Bango
Hi Klaus, Could you elaborate on this a little more? I'm not clear on what you mean by this. I'm all for best practices and I'm definitely interest in this. Thanks, Rey... Here's another tip (to promote good practice right from the beginning): Every Ajax call by jQuery sends a special

Re: [jQuery] Ajax numpty, stumbling around

2006-09-22 Thread Mark Harwood
From what i can tell from that, its basicly a call in the PHP that deals with the submitted data depending on how the form has been submitted. So if the user has JS enabled on the browser they can have nice fancy error checking via AJAX and if not they can get some nice standard PHP based

Re: [jQuery] Ajax numpty, stumbling around

2006-09-22 Thread Mike Alsup
I highly recommend using the form plugin to handle form submission. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Ajax numpty, stumbling around

2006-09-22 Thread Sam Collett
On 22/09/06, Dan Atkinson [EMAIL PROTECTED] wrote: I would consider hashing the username and password in the script before submitting, as you'd effectively be sending unencrypted personal data over a HTTP connection. That's not so good, and I think users would complain. Hashing the

Re: [jQuery] Ajax numpty, stumbling around

2006-09-22 Thread Klaus Hartl
Rey Bango schrieb: Hi Klaus, Could you elaborate on this a little more? I'm not clear on what you mean by this. I'm all for best practices and I'm definitely interest in this. Thanks, Rey... Here's another tip (to promote good practice right from the beginning): Every Ajax call

Re: [jQuery] Ajax numpty, stumbling around

2006-09-22 Thread Mark Harwood
Hi Mike, Any chance of a link to it? Mike Alsup wrote: I highly recommend using the form plugin to handle form submission. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___

Re: [jQuery] Ajax numpty, stumbling around

2006-09-22 Thread Mike Alsup
Any chance of a link to it? The form plugin is available here: http://jquery.com/dev/svn/plugins/form/form.js?format=txt Sample usage can be found here: http://malsup.com/jquery/form/ ___ jQuery mailing list discuss@jquery.com

Re: [jQuery] Ajax numpty, stumbling around

2006-09-22 Thread Rey Bango
Awesome explanation Klaus and what you're saying makes total sense! You should definitely speak with Yehuda about doing a writeup on this. This is great info. Rey... Rey, sure. To make forms accessible with and without Ajax, I start with building the form as if I were building a