Eh, most of the examples I've seen don't have <form> tags around the buttons if they're standalone. Now if the buttons are connected with a text box or are otherwise more than just the button itself, then yeah, they pretty much all have <form> tags.
So between PHP and ASP, is it better to get smart on one and have at least a basic understanding of the other, or should a person know both about equally?
Also gave JSLint a try, and it kept telling me that I was missing "use strict" statements all over my code. I've never heard of this, is "use strict" required for javascript writing? Some of the info I've found says you can just put it in the first line of your javascript page, assuming you have all your stuff saved to a separate file from the webpage itself, and others say you can simply write it into its own function...how would you write a function for it?
On the other hand, JSLint seems nice, but it keeps giving back "so-and-so has not been defined"; it even does this for alert(); lines...how do you define alert(); (yes, there is messages enclosed by "" in them
)? I mean, the code I'm writing is modified from the book I'm using and trying to follow a similar format to it, which works fine when directly copied and tested in the browser, but JSLint keeps coming back with undefined's for the book's stuff and my own, even when adding exceptions in the Tolerate options.