[jQuery] Re: How can I make diferent things depending on the 'msg' variable?

2009-05-18 Thread Jere
Any help :( ? On 17 mayo, 00:06, Jere wrote: > Hi, > The fact is, I want to have diferent functions depending on the 'msg' > variable. > For example, if the msg variable is "error" i want son events to hapen > a some other events not. > >

[jQuery] Re: Slide to fade, can you help me quick? Noob alert!

2009-05-17 Thread Jere
Try this: $(document).ready(function(){ $(".loginToggle").click(function(){ $("#loginForm").toggle("slow"); }); }); Is not only fading, but more or less i think is what you need.

[jQuery] How can I make diferent things depending on the 'msg' variable?

2009-05-17 Thread Jere
Hi, The fact is, I want to have diferent functions depending on the 'msg' variable. For example, if the msg variable is "error" i want son events to hapen a some other events not. My code is this: $('#login').ajaxForm({ url: 'revisar.php', before