Wednesday, 27 February 2008

Javascript: the first dodgy, execute javascript function in browser address bar

In Browser addess bar, type in javascript: and then followed by the javascript function you wanna execute, press enter key. Below is a example.
javascript:alert(document.getElementById("id").outerHTML);

No comments: