#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2012
    Posts
    11
    Rep Power
    0

    Related to javascript


    I need code for how to check phone number with phone numbers present in database.If we enter duplicate i need to get pop-up box.please....
  2. #2
  3. Known to taste like chicken
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2003
    Location
    In front of my computer
    Posts
    399
    Rep Power
    311
    javascript wont be able to communicate with your database directly, you will need to do ajax calls to the server to check if the phone number is already in the DB.
    "Take thy beak from out my heart, and take thy form from off my door" - Homer J Simpson / Edgar Allan Poe

    Looking for a project Idea?
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2012
    Posts
    11
    Rep Power
    0
    Originally Posted by sir_drinxalot
    javascript wont be able to communicate with your database directly, you will need to do ajax calls to the server to check if the phone number is already in the DB.
    Hai sir,
    could you please send me the sample code?
  6. #4
  7. Known to taste like chicken
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2003
    Location
    In front of my computer
    Posts
    399
    Rep Power
    311
    nope, you'll find that we will happily help you with problems, but we wont write the code for you.

    http://lmgtfy.com/?q=ajax+tutorial+-w3schools

    do some research on ajax, and have a try. If/when you have problems post your code in the appropriate forum and we'll help you out.
    "Take thy beak from out my heart, and take thy form from off my door" - Homer J Simpson / Edgar Allan Poe

    Looking for a project Idea?

IMN logo majestic logo threadwatch logo seochat tools logo