Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder
    Join Date
    Sep 2010
    Posts
    122
    Thanks
    6
    Thanked 0 Times in 0 Posts

    php reset button with rfresh browser

    hi again

    i want a rest button to reset the form and ..... refresh the browser .....


    Reset button for ....... reset form and refresh browser........



    plz help me for this sample code

  • #2
    Regular Coder poyzn's Avatar
    Join Date
    Nov 2010
    Posts
    266
    Thanks
    2
    Thanked 61 Times in 61 Posts
    add to your html-file to reset a page and a form on it
    Code:
    <input type="button" value="reset" onclick="window.location=''" />

  • #3
    Regular Coder
    Join Date
    Jul 2010
    Posts
    149
    Thanks
    0
    Thanked 5 Times in 5 Posts

    Use only refresh the browser

    Why you want to use reset button for refresh browser.
    Because when you refresh the browser then form is automatically reset.

  • #4
    Regular Coder
    Join Date
    Sep 2010
    Posts
    122
    Thanks
    6
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by poyzn View Post
    add to your html-file to reset a page and a form on it
    Code:
    <input type="button" value="reset" onclick="window.location=''" />
    thankz a lot for the reply


  •  

    Posting Permissions

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