Results 1 to 2 of 2

Thread: Validation through javascript

  1. #1
    Join Date
    Nov 2011
    Posts
    27

    Validation through javascript

    Hi,

    I am working on simple project and it's for the institute Class project where i am learning php. i have to submit the project as soon as possible. But i am doing it different way then of i was supposed. Instead of validation message i want to use a picture or icon with Red error icon and Green yes icon as you can check in the attached picture. I am calling a function on submit button and if there is any error then using document.GetElementById('error').style.background="none" and ="pic url". I am getting output but it's just for a second then disappeared. I have already attached the Screen Shot to get the full idea.
    Attached Images Attached Images

  2. #2
    Join Date
    Mar 2012
    Posts
    93
    In html forum you can used the java script validation.java script is used in php and also in asp...

Similar Threads

  1. JavaScript Form Validation
    By 809AreaCode in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 1
    Last Post: 18 May 2011, 10:47 AM

Posting Permissions

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