Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Help me get jquery working - $ is not defined error

Alistair LaingJan 6 2009 — edited Jan 7 2009
Hi,

how did you get it to work?

I have setup my page template and header setup as follows:

Page template:
<html lang="&BROWSER_LANGUAGE.">
<head>
<title>#TITLE#</title>
<link rel="stylesheet" href="#IMAGE_PREFIX#themes/theme_12/theme_3_1.css" type="text/css" />
<script src="#IMAGE_PREFIX#themes/theme_12/jquery126.js" type="text/javascript" /></script
#HEAD#
</head>
<body #ONLOAD#>#FORM_OPEN#
and my page header is as follows:
<script>
    $().ready(function() {
        //Hello World
        alert("Hello world!");
    });  
</script>
I don't get any message or JS errors in IE though in Firefox 3 with firebug I get
"$ is not defined"
and points to the first line in my header
"$(document).ready(function( ) {"
Can anybody help me?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 4 2009
Added on Jan 6 2009
8 comments
926 views