Bug fix for more than two tabs $('#tabs').tabs({ select: function(event, ui) { // GET AND SET OBJECT PARAM VALUE AND STORE IN STANDARD HIDDEN INPUT WHEN SELECTING TABS content = $("#content").val(); if(ui.index==0) { // SET $("#editor1 param[name='Value']").val(content); } else if(!content) { // GET ONLY IF CONTENT EMPTY editor1 = $("#editor1").val(); $("#content").val(editor1); } } });
On 21 July, 16:54, blackmetaluk <blackmeta...@googlemail.com> wrote: > Created a fix > > $('#tabs').tabs({ > select: function(event, ui) { > // GET AND SET OBJECT PARAM VALUE AND STORE IN STANDARD > HIDDEN INPUT > WHEN SELECTING TABS > if(ui.index==0) { // SET > content = $("#content").val(); > $("#editor1 param[name='Value']").val(content); > } else { // GET > editor1 = $("#editor1").val(); > $("#content").val(editor1); > } > } > > }); > > On 20 July, 09:47, blackmetaluk <blackmeta...@googlemail.com> wrote: > > > Hi, This did not seem to work. > > The tab in question is the first tab so is not hidden when the page > > loads. > > Thanks > > > On Jul 20, 7:26 am, Klaus Hartl <klaus.ha...@googlemail.com> wrote: > > > > Could you try > > > this?http://docs.jquery.com/UI/Tabs#...my_slider.2C_Google_Map.2C_sIFR_etc... > > > > --Klaus > > > > On 19 Jul., 15:25, "blackmeta...@googlemail.com" > > > > <blackmeta...@googlemail.com> wrote: > > > > Hi > > > > I seem to have found the following bug. > > > > > (I am using the the latest versions of all products mentioned) > > > > > When using jQuery UI Tabs with the following code in one tab, I then > > > > select another tab then selected the first tab again the content of > > > > the xStandard object is lost or reverts to the initial value. All > > > > other form values on the tab are sill preserved as expected. > > > > > <object type="application/x-xstandard" id="editor1" width="100%" > > > > height="550" codebase="http://xxx/XStandard/ > > > > XStandard.cab#Version=2,0,0,0" name="content"> > > > > <param name="Value" value="enter text" /> > > > > </object> > > > > > The object also flickers a bit when scrolling the page. > > > > I have encountered these problems in Firefox and Chrome so far but is > > > > fine in IE8. > > > > > Not sure if this is a UI or Browser bug. > > > > Can anyone shed some light on this problem as I don't really what to > > > > have to recommend IE8. > > > > Cheers