Category Archives: Javascript

Crash FreeTextBox using Javascript

Would you like to crash FreeTextBox? Here is the trick. Visit the page http://freetextbox.com/demos/Default.aspx Click on HTML view and copy/paste the following code. Press “Save” button. This will convert your code into Note that “a” is missing. Pretty interesting!!! hmmmmmm….Now again click on HTML view and copy/paste following code Now you will see error….. Hurray…… […]


Be Careful When You Are Using Javascript parseInt() Function

First of all guess the result and then get the actual answer by clicking on the button “Show Result” In JavaScript if the string starts with “0”, the string will be parsed as if it is octal number. (i.e. base 8) instead of decimal number(i.e. base 10). So if you are parsing the string containing […]