cheers! I'm such a beginner.
http://i.somethingawful.com/cliff/ihateyou/page-262/3.jpg
On 10 Jul., 15:55, John Resig [EMAIL PROTECTED] wrote:
You have to add an extra wrapper function in .ready(), like so:
$(document).ready(function(){
// your code
});
On 7/10/07, tlob [EMAIL
You have to add an extra wrapper function in .ready(), like so:
$(document).ready(function(){
// your code
});
On 7/10/07, tlob [EMAIL PROTECTED] wrote:
Hello
First very simple question: why ist this not allowed?
[code]
$(document).ready(
var isplaying = false;
//something else
);
Answer both of your questions:
Use:
$(document).ready(function() { /* ... */ });
Not:
$(document).ready( /* ... */ );
- jake
On 7/10/07, tlob [EMAIL PROTECTED] wrote:
Hello
First very simple question: why ist this not allowed?
[code]
$(document).ready(
var isplaying = false;
//something
3 matches
Mail list logo