Results 1 to 2 of 2

Thread: Message over content?

  1. #1
    Join Date
    Dec 2008
    Posts
    28
    Thanks
    3
    Thanked 1 Time in 1 Post

    Default Message over content?

    is it possible for JavaScript to show an error on top of the page if there has been an error during a php script?

    like telling them that their email and password is wrong, or that you cant sign up again.

    and it only shows for about 5 seconds, and then it slides back to the top?

  2. #2
    Join Date
    Apr 2009
    Location
    Cognac, France
    Posts
    400
    Thanks
    2
    Thanked 57 Times in 57 Posts

    Default

    If you are referring to an input form then you can definitely incorporate javascript field validation into it, even in PHP.

    I do this regularly but only using the standard javascript alert box, however I have seen quite a few javascript 'alert box' replacement scripts that may be able to do what you want. Do a search on the web for these

Bookmarks

Posting Permissions

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