Inline Javascript Confirm

Here is an example of how to validate a click on a button, or even a link: <input type=submit name='status' value='clear' onclick="if(confirm('Are you sure?')){return true;}return false;" > Good luck!

Ajax, Firefox and Error Messages

I ran across this a few minutes ago, and after some digging, found the solution, so I hope this helps someone else… What I was trying to do? Simple Ajax GET Where? From AND TO my local server Why? To learn! What error was I getting? Error: uncaught exception: [Exception... "Not enough arguments [nsIXMLHttpRequest.send]" nsresult: [...]