Hi do it online..

You wanna try some simple JS:
http://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_length_string
Edit and Click:


<html>
<body>

<script type="text/javascript">

var myString = "123456";

var length = myString.length;

document.write("The string is this long: " + length);



</script>

</body>
</html>

And you get as output:

The string is this long: 6  

polonus

Thank you polonus

Hey, I like that. NS works for me. :wink:

Hi another one:

<html>
<body>
<script type="text/javascript">
           document.write(location.hash);     

      </script>
</body>
</html>

Suppose the current URL is: http://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_length_string
Output would be

12 

So far, I pass. :smiley:

Hi folks,

Another one to break out of any iFrame

<html>
<body>

<script type="text/javascript">
if(top.location != location) {
	top.location.href = document.location.href;
}
</script>


</body>
</html>
 

polonus