SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    Mad Beach Bum jgsketch's Avatar
    Join Date
    Aug 2002
    Location
    FL
    Posts
    825
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Hide Status Bar on Form Submit Button

    I'm trying to prevent the URL from displaying at the bottom of the browser when a user mouseovers the submit button on my form.

    I would prefer it to show nothing. But I've several examples that show "javaScript:RedirectUser();". lendingtree.com does this. mydebtconsolidationadvice.com has nothing dispayed.

    Searching did not come up with many results. What I was getting was how to hide the display of the button. Maybe I was searching for the wrong thing.

    Any ideas? thanks.

  2. #2
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    17,154
    Mentioned
    190 Post(s)
    Tagged
    2 Thread(s)
    The second site's status bar display is
    http://mydebtconsolidationadvice.com/#
    It all depends on whether the user wants to allow scripts to modify the status property.
    http://www.w3schools.com/htmldom/prop_win_status.asp

  3. #3
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,810
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    Modern browsers disallow web pages from updating the status bar for security reasons. Only if people disable their security option to allow phishing sites to display misleading information in the status bar can web pages change the value displayed there. The browser has no way to distinguish between legitimate updates and those phishing attempts and so they are all blocked by default.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">


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
  •