[jquery-ui] Re: Tabs:- prevent switching away: show Confirmation msg:-Tab refreshes itself. - one more issue.-Solved!!!

2008-09-18 Thread simpi
//Alternative Solution: Don’t use select callback! //***Solution works for both Static and Ajax Tabs. - //On each Ajax tab’s JSP, use following method: $(document).ready(function() { // Prevent accidental navigation away $(':input',document.f

[jquery-ui] Re: Tabs:- prevent switching away: show Confirmation msg:-Tab refreshes itself. - one more issue.

2008-09-17 Thread simpi
2nd Issue is: Once select returns false in the callback you cannot tab away even if you click on “YES, I am sure I want to Tab away”. You are stuck with the same tab untill you refresh the screen. - In the following example I

[jquery-ui] Re: Tabs:- prevent switching away: show Confirmation msg:-Tab refreshes itself.

2008-09-16 Thread simpi
Can anyone help? :-( when select call back returns false, I don't want the tab to be refreshed. What are the options I have? :-( :-( On Sep 12, 11:35 am, simpi <[EMAIL PROTECTED]> wrote: > I have 6 tabs on my screen. I'm using Struts framework and each Tab > has a separa

[jquery-ui] Tabs:- prevent switching away: show Confirmation msg:-Tab refreshes itself.

2008-09-13 Thread simpi
I have 6 tabs on my screen. I'm using Struts framework and each Tab has a separate Controller and Save button. Requirement is when user tabs away without saving, I need to show a confirmation message to make sure that what they want to do. If they click Yes, they go to the new tab and if they clic