Ok, this is like two question in one!
Why is this JQuery function call failing? or how should I call the JQuery function? Firebug tells me that
$('#login').slideup
is not a function.setTimeout("$('#login').slideup('slow');",2000);
How can I declare a JQuery function externally (not binding it to anything and not after
document().ready()
then later call it in my javascript functions?
For example:
function afterLogin(){
$('#login').slideup('slow');
}
then later call it as:
setTimeout('afterLogin();',2000)
Help
Gath