SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Zealot
    Join Date
    Oct 2004
    Location
    world
    Posts
    128
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thumbs up Why IE prevent js in my site ..not others ?

    i am confused ... when i visite my site ..IE prevent js (ie ..to protect your ..) ..than I need to enable it . but I have visited several sites ..which has js ..but ie dont show that error message (..to protect ..) and the js executed without any problem .
    I use to put it like

    Code HTML4Strict:
     
    </head>
    <script language="JavaScript" type="text/JavaScript">
    <!--
    .....
    //-->
    </script>
     
    <style type="text/css">
    <!&#8211;
    &#8211;>
    </style>
     
    <body>

    Why is that ? am I missing something ?

  2. #2
    SitePoint Wizard gRoberts's Avatar
    Join Date
    Oct 2004
    Location
    Birtley, UK
    Posts
    2,439
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    this usually only happens when you are running it locally, i.e. direct from your hard drive.


  3. #3
    SitePoint Zealot
    Join Date
    Oct 2004
    Location
    world
    Posts
    128
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks for the tip

  4. #4
    SitePoint Wizard REMIYA's Avatar
    Join Date
    May 2005
    Posts
    1,351
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by gRoberts View Post
    this usually only happens when you are running it locally, i.e. direct from your hard drive.
    I believe there are some settings that allow you to enable it by default.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •