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 calls on it. Thanks Mark Rey Bango wrote: >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 me a php file. In that, he set the content-type of >the document by using this line: > ><?php > header("Content-Type: text/html; charset=UTF-8"); >?> > >So you'll want to follow suit depending on what you're sending back. > >HTH. > >Rey... > >Mark Harwood wrote: > > >>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 >>get how it worked, but with my new found love of jQuery i belive i >>should be able to finaly push myself into AJAX without hurting myself >>too much. >> >>Im currently trying to do a simpe re-write of my login page for a custom >>CMS im writing in PHP, what i want to know is how do i pass the >>submitted form values to the jQuery AJAX call and if there anything else >>i need to do to my PHP functions to make them work with the AJAX or can >>i just keep them looking for $_POST/GET values? >> >>My current test login page source can be found below >>http://pastecode.net/?action=viewpost&tag=997 >> >>Any help you can provide will be great, as ive not been able to find >>online tuts for AJAX parts of jQuery - least none that help me with this. >> >>Many thanks >>Mark 'Phunky' Harwood >> >> >> >>_______________________________________________ >>jQuery mailing list >>[email protected] >>http://jquery.com/discuss/ >> >> >> > >_______________________________________________ >jQuery mailing list >[email protected] >http://jquery.com/discuss/ > > _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
