less than 1 minute read

Did you know that you can execute javascript statements against a web page, just like using the Immediate window in Visual Basic 6? I just learnt this today.

Browse to a web page that has a disabled textbox and type this (replace the form and textbox names) in the address bar and hit enter.

javascript:void(document.Form1.txtBox1.disabled = false)

Presto you have an enabled textbox! Think of all the fun you can have on web sites that only have client side validation?

Categories:

Updated: