Thanks a lot for this help :)
It's working fine now
You need to wrap your script in a ready block.
$(document).ready(function(){
//your stuff here
});
The reason is that the links dont exist yet when your run your script.
Browsers run scripts the second they see them and dont wait for the rest of
the page to load. The ready block makes the scrip
You have to have the ready call wrapped around your function:
$(document).ready(function() {
// your script here
});
-- Josh
- Original Message -
From: "iPhenom" <[EMAIL PROTECTED]>
To: "jQuery (English)"
Sent: Tuesday, November 20, 2007 9:17 AM
Subject: [jQuery] starter
respect
3 matches
Mail list logo