Forum Moderators: open
I`m putting a demo version of one of my scripts on my website and I want to disable some features. So, can someone give me a little bit of javascript code so that when say, a "SUBMIT" button is pressed, a message pops up saying "This feature is disabled" and then returns false when "OK" is clicked.
Thank you,
dreamcatcher.
:)
Thats correct, I don`t. :)
I have changed it to return false though, because that removes the click action when the button is pressed and I like it better like that.
Whilst we are on the subject of this, how about if I want someone to confirm an action before the action is completed? Say I had "Delete" button and I wanted a box to pop us saying "Are you Sure?", how would I do that? So that yes returns true and no returns false?
Thank you.
:)