Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

AJAX with jQuery: A Simple Login Example

Loading...

Sign in or sign up now!
25,472
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Apr 15, 2009

This video looks much better on Vimeo.
http://vimeo.com/4173282

In this screencast we explore the jQuery $.post() command in order to create a simple ajax login script that also gracefully degrades and works for users who do not have JavaScript enabled.

See more at http://shawnmccool.com

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 10 dislikes

Link to this comment:

Share to:

Uploader Comments (ShawnMcCool)

  • Your piece of shiiit text editor sux, therefore this video is absolutely useless and is no better than a piece of shiiit.

  • @fthis12345

    Thanks for the compliments.  If you need to ask any questions in order to understand how to use the video please do.

  • I don't know if it's just me, but I can hardly read any of the text you're typing...

  • @AlexGreatMK

    The links to the higher quality video are in the 'read more' section.

    Also, you'll notice that at the beginning of the video a pop-up mentions the location of the 'readable' version.

  • place alert('test'); here and there in your javascript to see where it's breaking. It's probably a syntax error somewhere.

  • I have a question. I am implementing an ajax db check. But I only want my php script to return false if no records and true on record found, when i run the jquery "data" object however it cant recognize either true or false from my script. I am able to return a simple string and then echo it out on an error console on my html page. What is the best approach when making scripts return simple boolean data and have jquery output a string accordingly? Thnks

  • I suggest using JSON.

    Are you using jQuery's $.post() method?

see all

All Comments (51)

Sign In or Sign Up now to post a comment!
  • Thank-you for taking the time to demonstrate the login check in a succinct and precise manner. Vimeo enhances the visibility but the most important thing is the information that you have passed on. It's helped me to have a better understanding of the tools and apply them in a very practical manner.

  • Like other commenters have mentioned, the text is blurry. I'd try Camstasia if you're not using it, or encode the video differently.

  • china simbols?

  • Would love to watch this but cannot see the screen at all.

  • Your voice is nice but the texts are blurry. Thanks though

  • Nice video!

    I've never understood Ajax, and still don't, but I'll inspect your code to understand :)

  • the videos look great on vimeo....you really look like you know what you're doing. You need to post more videos on ajax, jquery, php

  • Thank you for the post, helped me understand how to pass parameters into jquery functions ;)

  • @fthis12345 this isn't useless dude.. no reason to insult someone for being smart ;) you could actualy learn a lot from this guy, if only you look hard enough in his code ;)

  • good video. but i thought that ajax involved communicating with the server for data retrieval. did that happen? or do i still need to learn about ajax (and i definitely do).

View all Comments »
Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more