[jQuery] Re: prevent tab changing + user message

2008-11-19 Thread oscarml
Hi Klaus, I came back to this problem after fixing other part of my application ;). Finally I figured it out in this way: var TabSolicitud = $('#SolicitudAguaTabContainer ul').tabs({ select: function(e, ui) { return false;} } And then, in the onclick event of tag link (a/a), I call:

[jQuery] Re: prevent tab changing + user message

2008-09-30 Thread oscarml
Hi. Nobody can help me with this issue? I don´t know if is crearly enough: On the select propertie of the tab I call a function. This works great with validation plugin, due to it returns true or false without user action. the problem is when I present a dialog to the user in order to determine

[jQuery] Re: prevent tab changing + user message

2008-09-14 Thread oscarml
Hi klaus, I had already read the FAQ, and as you can see in my code I'm using the select property. This works fine for example if you run a function that returns true or false without asking user anything, but in my case I need the user to choose one option. Then, when I offer the dialog box,

[jQuery] Re: prevent tab changing + user message

2008-08-31 Thread Klaus Hartl
See FAQ: http://docs.jquery.com/UI/Tabs#...prevent_switching_to_the_tab_on_click_depending_on_form_validation.3F --Klaus On Aug 31, 5:23 pm, oscarml [EMAIL PROTECTED] wrote: Hi to everybody, I'm trying to control tab switching depending on user answer to a dialog. Here is my code; var