Tabs - server response vs. client side
Posted: Fri Jan 07, 2011 10:14 am
I have 3 tabs where all the content is initially built prior to displaying the "record format" for the first time.
I had added a tab response field and coded the RPG so it knew what tab it was on when it executed some bit of work off one of the tabs. (so I could return to the same tab it was on when it executed the item it was processing).
What I want to do, is be able to click on a tab without going back to the server, but when I execute some item on any of the tabs (that requires server action), I want to be able to return to the tab that the user was on when they performed the action/task.
Is it as simple as adding script to the onclick event, or will that mess up the "tab response" value and cause issues when I try to return to the same tab that an action was performed on?
(I hope the above makes sense)
Thanks
I had added a tab response field and coded the RPG so it knew what tab it was on when it executed some bit of work off one of the tabs. (so I could return to the same tab it was on when it executed the item it was processing).
What I want to do, is be able to click on a tab without going back to the server, but when I execute some item on any of the tabs (that requires server action), I want to be able to return to the tab that the user was on when they performed the action/task.
Is it as simple as adding script to the onclick event, or will that mess up the "tab response" value and cause issues when I try to return to the same tab that an action was performed on?
(I hope the above makes sense)
Thanks