With firebug installed on your Firefox browser, you can now replace the javascript alerts with console.log.
The above code will output the value of myvar in the firebug console when the page is loaded.
var myvar = "This is my variable"
console.log(myvar);
No comments:
Post a Comment