using jquery-ui try to call the content from another html file by using ajaxjquery in

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rajesh13
    New Member
    • Jan 2014
    • 3

    using jquery-ui try to call the content from another html file by using ajaxjquery in

    using jquery-ui try to call the content from another html file by using ajaxjquery.. its wont work in local path.?

    Code:
    <!doctype html>
    <html lang="en">
    <head>
    <meta charset="utf-8">
    <title>jQuery UI Tabs - Content via Ajax</title>
    <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css">
    <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
    <script src="http://code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
    <script type="text/javascript">
    $(function() {$( "#tabs" ).tabs({beforeLoad: function( event, ui ) {
    ui.jqXHR.error(function() {ui.panel.html("Couldn't load this tab. We'll try to fix this as soon as possible. " + "If this wouldn't be a demo." );});}});});
    </script>
    </head>
    <body>
    <div id="tabs">
    <ul>
    <li><a href="#tabs-1">Preloaded</a></li>
    <li><a href="index.html">Tab 1</a></li>
    <li><a href="index2.html">Tab 2</a></li>
    <li><a href="index4.html">Tab 3 (slow)</a></li>
    <li><a href="index2.html">Tab 4 (broken)</a></li>
    </ul>
    <div id="tabs-1">
    <p>Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. C Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.</p>
    </div>
    </div>
    </body>
    </html>
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    what’s the question?

    Comment

    • Rajesh13
      New Member
      • Jan 2014
      • 3

      #3
      using jquery-ui try to call the content from another html file by using ajaxjquery.. its wont work in local path.?

      Comment

      • Rajesh13
        New Member
        • Jan 2014
        • 3

        #4
        side nav integrate with dynamic tabs in jquery ui - content via ajax

        side navigator integrate with dynamic tabs in jquery ui - content via ajax

        onclick external html file should load into that tab.??
        Attached Files

        Comment

        • Dormilich
          Recognized Expert Expert
          • Aug 2008
          • 8694

          #5
          sounds like a matter of SOP.

          although I doubt jQueryUI is much a help in this regard.

          Comment

          Working...