I'm no expert at javascripting and leave the pretty stuff up to the people who do that thing...
however, I'm trying to build a small db updating file and was taking care of some of the front end coding for someone who is primarily a DreamWeaver person who isn't able to dive into code and take care of some things.
So, I've been trying to debug why a Button kept receiving error responses from a PHP page when other buttons weren't.
When I changed it from <button> to <input type="Button">... it worked fine. I don't understand what the significance is.
Here are the two lines of text EXACTLY as they appear in the code.
==============
<input type="Button" value="Submit" onClick="javascript:ButtonClick2();"/>
<button onClick="javascript:ButtonClick2();">Submit</button>
==============
They both call the exact same routine. There is no call back to determine which object was calling the ButtonClick2 routine (not that I would know how to do that in javascripting...). Other than the control type, I see nothing that is different and certainly nothing that would obviously cause the php call to fail.
Anyone?
-steve