Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# Constructor 10/9/2008 12:11 PM
I have entered this code into my Cuyahoga template:
script type="text/javascript" src="http://localhost/Cuyahoga/Templates/Novocreations/js/jquery-1.2.6.js"/

    script type="text/javascript"
        $(document).ready(function() {

          { jQuery Code }

        });
   /script

It only works in Google Chrome!?

Firefox and Explorer I get nothing... No error, no functionality.

I have tried with a very simple jQuery statement like:
$('*').css("border", "1px solid #0000ff");

But this only works in Chrome.

Any Ideas...? I am stumped.

# Ryan 10/9/2008 12:24 PM
Your initial script tag where you attach jquery, requires a closing script tag, like so:

Script tags are not self closing tags like img or br.
# Constructor 10/9/2008 12:48 PM
Solved.

Thanks Ryan.