SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    SitePoint Evangelist Caesar's Avatar
    Join Date
    May 2000
    Location
    On some harddisk
    Posts
    599
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Why does Google Chrome refresh this page when ...?

    Hi all,

    Why does Google Chrome refresh this page (http://manojsharma.com/dialogue/) when a mouse click goes into the textbox?

    And how do I resolve it?

    Tks!
    Go increase web site traffic by using 27 proven strategies!

  2. #2
    SitePoint Addict bronze trophy
    Join Date
    Mar 2013
    Location
    Oneonta, NY
    Posts
    307
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Caesar,

    The website is using an onblur statement with function ClearField(this) on its text boxes causing the form to reset (which refreshes the page).

    More info here,

    http://www.javascript-coder.com/java...set-form.phtml

    Hope that helps,

    Shawn

  3. #3
    SitePoint Evangelist Caesar's Avatar
    Join Date
    May 2000
    Location
    On some harddisk
    Posts
    599
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks much Shawn!

    Quote Originally Posted by smanaher View Post
    Caesar,

    The website is using an onblur statement with function ClearField(this) on its text boxes causing the form to reset (which refreshes the page).

    More info here,

    http://www.javascript-coder.com/java...set-form.phtml

    Hope that helps,

    Shawn
    Go increase web site traffic by using 27 proven strategies!

  4. #4
    SitePoint Evangelist Caesar's Avatar
    Join Date
    May 2000
    Location
    On some harddisk
    Posts
    599
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hmm, how do I disable it?

    Quote Originally Posted by smanaher View Post
    Caesar,

    The website is using an onblur statement with function ClearField(this) on its text boxes causing the form to reset (which refreshes the page).

    More info here,

    http://www.javascript-coder.com/java...set-form.phtml

    Hope that helps,

    Shawn
    Go increase web site traffic by using 27 proven strategies!


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
  •