Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Feb 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Jquery with Ajax

    Hi all,

    I am new to ajax and jquery. I am doing an example like reading username and password . and when i submit the submit button a page should be displayed saying that "u r details are stored". I got some example on web but they are all related to "php". Can we do with out php.

    Please let me know..... how to do it.

    thanks in advance,

    satya.

  • #2
    UE Antagonizer Fumigator's Avatar
    Join Date
    Dec 2005
    Location
    Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
    Posts
    7,691
    Thanks
    42
    Thanked 637 Times in 625 Posts
    You don't do an Ajax call without a server side. So you do need PHP, or some other server language (ColdFusion, ASP, Ruby, etc). At the very simplest, Ajax will bring in an HTML file, but that still goes to the server to get it.

    Also I'm assuming you are going to store this entered information in a file or database of some kind, which is also on the server side.

    Since you are new to the scene, I recommend you AVOID Ajax and jQuery for now. Instead, focus on a simple form submission that shows you how your HTML page interacts with PHP. Start here:

    http://us2.php.net/manual/en/tutorial.php

    Go through each topic, especially the "forms" one:

    http://us2.php.net/manual/en/tutorial.forms.php

    If you're comfortable with that whole process, you can move on to Ajax and other wonderful things.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •