JavaScript Editor Help CSS 2.1 Buttons Share on Facebook TheNerdShow.com
, and share
<!DOCTYPE html><html lang="en"><head> <style> body { background: #272822; color: #ffffff; } </style> <script type="text/JavaScript"> function foo() { cal=document.getElementById("calc"); cal.value=eval(cal.value); return false; } </script></head><body> <p>Javascript tester and client-side pastebin.</p> <input value="5 + 5" id="calc" type="text"> <input value="Click me" type="submit" onclick="return foo();"> </body></html>