As continuation from that question: JavaScript display new page when submit HTML form
with accepted answer from Littm (using Cookie)
now I want that if cookie is existing the confirm.html will display “Sorry you can’t submit the form twice”, if it is not then display cookie as normal.
Any IDEA is really appreciated?
you should try this
http://www.w3schools.com/js/js_cookies.asp