Jquery click function does not load ajax tabs -


I have some tabs that load AJAX content. When I click on the tab, it loads the AJAX content completely, no problem is completely cured, as it is in the Jquery DEMO.

But when I try to use the tab using an onclick function, the tab opens but Ajax does it be a known issue? Does the AJAX tab depend on the user clicking to load on the URL.

This code is:

  $ ("# signuptabs"). Tab (); & Lt; Div id = "signuptabs" & gt; & Lt; Ul & gt; & Lt; Li & gt; & Lt; A href = "type.php" & gt; & Lt; Period & gt; Type & lt; / Span & gt; & Lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A href = "umber.php" & gt; & Lt; Period & gt; CNMF & lt; / Span & gt; & Lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A href = "vices.php" & gt; & Lt; Period & gt; S & lt; / Span & gt; & Lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A href = "ups.php" & gt; & Lt; Span & gt; Up & lt; / Span & gt; & Lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A href = "ext.php" & gt; & Lt; Span & gt; Ext & lt; / Span & gt; & Lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A href = "enu.php" & gt; & Lt; Span & gt; IMAN & lt; / Span & gt; & Lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A href = "info.php" & gt; & Lt; Period & gt; Notification & lt; / Span & gt; & Lt; / A & gt; & Lt; / Li & gt; & Lt; / Ul & gt; & Lt; / Div & gt; $ (". Step2next"). Click (function () $ ('#Signappab'). Tab ("Select", 1));  

When using the click function it will not load external content.

Jquery UI tab A link between the link Href and div id to identify the contents of each tab ... If you are using regular code provided by your Jquery UI, then you have to keep that relationship alive!

  & lt; Div id = "tabs" & gt; & Lt; Ul & gt; & Lt; Li & gt; & Lt; A href = "# tab-1" & gt; Tab 01 & lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A href = "# Tab2" & gt; Tab 02 & lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A href = "# tab3" & gt; Tab 03 & lt; / A & gt; & Lt; / Li & gt; & Lt; / Ul & gt; & Lt; Div id = "tabs-1" & gt; & Lt; P & gt; Content for Tab 01 because it is equal to the description of the Divi ID tab 01 & lt; / P & gt; & Lt; / Div & gt; & Lt; Div id = "tabs-2" & gt; & Lt; P & gt; Content for tab 02 because it is equal to HRFT content of Div ID tab 03 < / P & gt; & Lt; / Div & gt; & Lt; Div id = "tab-3" & gt; & Lt; P & gt; The content for tab 03 is because this div is equal to the hte of ID id tab and it is & lt; / P & gt; & Lt; / Div & gt; & Lt; / Div & gt;  

If you have changed the "standard" way, then you need to provide more to your code!

Using the above scale, load the content for the appropriate Divi ID ...

Ps: All this is valid if I understand your question correctly!


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -