JavaScript Sandbox
JavaScript
|
Prototype
|
Scriptaculous
This is the sandbox. Click inside this box to get element info.
Error messages go here
Enter your javascript code below:
// Show timestamp in sandbox var output = ""; output = Date(); $('sandbox').update(output); // Set onclick function for "A Button" var b1 = $('button1'); b1.onclick = function() { $('sandbox').highlight(); }
Show returned value of JavaScript code