Sweet, that's exactly what I was looking for! Thanks so much for the help.
Tim On Mar 12, 4:15 am, Jörn Zaefferer <joern.zaeffe...@googlemail.com> wrote: > Seehttp://jquery.bassistance.de/validate/demo/milk/ > > Jörn > > On Wed, Mar 11, 2009 at 10:19 PM, MonkeyBall2010 > > > > <hughes.timo...@gmail.com> wrote: > > > I think I figured out the passing part. If I am reading the > > documentation correctly it seems that the variable is retrieved in > > your PHP file via the $_GET["var"] command (does this seem correct?). > > Now I have the ability to check the database for availability but then > > I'm stuck again. So the documentation states that response is > > evaluated as a JSON (true or false)... Can anyone provide me with an > > example of how to do this? > > > Thanks in Advance! > > > On Mar 11, 3:11 pm, MonkeyBall2010 <hughes.timo...@gmail.com> wrote: > >> Thanks! Now how do I use it?!?! > > >> Hahah. Specifically, let's say I wanted to check on the availablility > >> of an email address. How do I pass that email address to my PHP > >> script? I couldn't seem to locate an example on the server side > >> script, only the JS. > > >> Tim > > >> On Mar 11, 3:11 am, Jörn Zaefferer <joern.zaeffe...@googlemail.com> > >> wrote: > > >> > Dunno about Fancybox, but you can use the remote method to check the > >> > username:http://docs.jquery.com/Plugins/Validation/Methods/remote > > >> > Jörn > > >> > On Tue, Mar 10, 2009 at 11:53 PM, MonkeyBall2010 > > >> > <hughes.timo...@gmail.com> wrote: > > >> > > You'll have to forgive me if this question sounds easy but I am fairly > >> > > new to jQuery so I'm still learning things here. > > >> > > I'm trying to do the following: > > >> > > -Display a signup form with the Fancybox plugin (working) > >> > > -Validate the form, currently using the bassistance Validation plugin > >> > > (working) > >> > > -Dynamically check a MySQL database, via AJAX, to see if the username > >> > > is already taken (????) > >> > > -Once the form checks out then I want to upload the information to > >> > > MySQL > > >> > > The problems I am having right now are as follows: > > >> > > -The validation script will function correctly on the standalone > >> > > webpage. However, when I try to open the webpage via the Fancybox > >> > > plugin the validation ceases to work. The submit button will refresh > >> > > the webpage and the validation doesn't fire. Does anyone why this > >> > > happend? > >> > > -I really haven't used AJAX before so I don't know if this whole > >> > > shabang will work or where I should start. Can these two things > >> > > (Validation, Fancybox) be combined? If so, is the way that I proposed > >> > > a valid way to combine them or can I change what I am doing to > >> > > something more efficient? > > >> > > Thanks!- Hide quoted text - > > >> > - Show quoted text -- Hide quoted text - > > >> - Show quoted text -- Hide quoted text - > > - Show quoted text -