#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2008
    Posts
    127
    Rep Power
    0

    Why is script tag attached and not javascript


    on orkut a social networking site, whenever i opened my friends profile a pop up would come up which would ask for my name etc. i realised that he used javascript in his profile , but when i tried it nothing happened, maybe they filter out scripting

    then i tried it on my friends blog and the html tags were working (i tried the bold tag), but when i used the following javascript:

    Code:
    <script> alert("This is what an alert message looks like.") </script>
    in the comments the
    Code:
    <script> and </script>
    vanished but the alert(......) was "written" in the comment instead of pooping up, why is that , i mean the scripting isnt being filtered (else why did the tags disappear),
    why isnt the alert box isnt showing up?

    Also, shouldnt
    Code:
     <SCRIPT language="JavaScript">
    be used instead of simply writing
    Code:
    <script>

    pls help
    Last edited by nandonachi; July 9th, 2009 at 01:10 PM.

IMN logo majestic logo threadwatch logo seochat tools logo