function doSomething() {
/*
This code by Chris Coyier
*/
var i = 0; // counter to be used later;
}
Comments in JavaScript can be between /* */ markings (useful for multiple line comments) or after // markings (for single lines only).
nice articles
nice
I want to temporarily disable one of two email addresses in a javascript field, e.g.:
<option value="address[email protected], [email protected]">Email Address</option>
Any way to comment out one or the other?
Thanks!
Works right?