I don't think the toggle(function, function) works or am i trying to use it incorrectly?
here is a extremely simple example :: <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Testing :: </title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script type="text/javascript" src="/js/jquery-latest.js"></script> </head> <body> <div id="link" onclick=" $('#link').toggle(function(){ alert('one'); $('#one').hide(); },function(){ alert('two'); $('#one').show(); }); ">Flip</div> <div id="one"> Hallo World </div> </body> </html> My jquery :: * $Date: 2007-01-22 00:27:54 -0500 (Mon, 22 Jan 2007) $ * $Rev: 1153 $ Kind Regards, EUgene Louw
_______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
