I am working with this piece of code and it is not firing when I put it in the page I need which is static HTML. It does work if you create a plain HTML page, but it is not working on the page I need.
Could you give a bit more information? What does “not firing mean”? What is the difference between the test page and the actual page it needs to work on? Can you post a link?
OK, what exactly do you need to do with the botton. Could you explain the context fo this button? What information are you passing on, in what way? Are you using PHP, or something similar? Where does this value need to go?