SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Evangelist silversurfer5150's Avatar
    Join Date
    Aug 2010
    Posts
    534
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question How to clear from using js?

    Hi guys,

    Basically I have a form with radio buttons, check boxes, text inputs etc which I want to clear every time the page is refreshed. I want to override the built in browser feature that remembers the previous entries. Can I do this with js? I have JQuery included on this project so JQuery solutions are welcome too.

    thanks
    "Persistence is the path to perfection"

  2. #2
    SitePoint Guru
    Join Date
    Apr 2006
    Posts
    802
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The user can control whether the browser remembers the last form state- but you can set all the values to their defaults or '' on each page load.


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
  •