473,511 Members | 14,825 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

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

Expand|Select|Wrap|Line Numbers
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>jQuery UI Tabs - Content via Ajax</title>
  6. <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css">
  7. <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
  8. <script src="http://code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
  9. <script type="text/javascript">
  10. $(function() {$( "#tabs" ).tabs({beforeLoad: function( event, ui ) {
  11. 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." );});}});});
  12. </script>
  13. </head>
  14. <body>
  15. <div id="tabs">
  16. <ul>
  17. <li><a href="#tabs-1">Preloaded</a></li>
  18. <li><a href="index.html">Tab 1</a></li>
  19. <li><a href="index2.html">Tab 2</a></li>
  20. <li><a href="index4.html">Tab 3 (slow)</a></li>
  21. <li><a href="index2.html">Tab 4 (broken)</a></li>
  22. </ul>
  23. <div id="tabs-1">
  24. <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>
  25. </div>
  26. </div>
  27. </body>
  28. </html>
  29.  
Jan 21 '14 #1
4 1943
Dormilich
8,658 Recognized Expert Moderator Expert
what’s the question?
Jan 21 '14 #2
Rajesh13
3 New Member
using jquery-ui try to call the content from another html file by using ajaxjquery.. its wont work in local path.?
Jan 21 '14 #3
Rajesh13
3 New Member
side navigator integrate with dynamic tabs in jquery ui - content via ajax

onclick external html file should load into that tab.??
Attached Images
File Type: jpg 1.jpg (8.5 KB, 172 views)
Jan 21 '14 #4
Dormilich
8,658 Recognized Expert Moderator Expert
sounds like a matter of SOP.

although I doubt jQueryUI is much a help in this regard.
Jan 21 '14 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1266
by: ym | last post by:
Hi, Has anybody done this before... The current html file has to 2 drop down boxes. Depending on the selection chosen, there is a predetermined html file to load. My new asp file will...
7
7656
by: Go USA! Go Israel! | last post by:
I was wondering if the following was possible: Instead of using a frameset which references other individual HTML files, have the <SPAN> tag reference another HTML file, which is placed within...
2
1470
by: Georg Andersson | last post by:
hi i've created a html-file containing a frameset. the document in one frame enables the user to change the content of the other frames. but i want to modify the current html-files in the frame...
2
2900
by: Sam Kon via .NET 247 | last post by:
Can any one of you let me know, how can I replace a pattern in an html file using C#? I have the contents of the html file stored in a string. I just need to replace some of the elements which have...
0
254
by: Dhanasankar S via DotNetMonster.com | last post by:
Hai friends, Please give me an idea to read the content in the body part of a HTML file from another HTML file using Javascript. -- Message posted via http://www.dotnetmonster.com
0
2251
by: egp | last post by:
Hi guys, I have a database using Ms Access 2003 connected to VB6 using ADODB Connection and I want to know how to: - display Ms Access report in VB using VB code then print it out - backup and...
10
7749
by: lg | last post by:
My site consists of many htm pages and each has a banner with my address and some graphic. Now each html page is something like this: <html> blah blah <div> my logo my address </div>
1
1876
Inbaraj
by: Inbaraj | last post by:
Hi.. I want to generate a HTML file using C# in runtime... Can any one say me how to do this.. It is urgent for me i need this file to generate report... Plz help me with sample coding... ...
4
7310
by: MarkTingson | last post by:
Hello, Can anyone here tell me how to open a html file using VB6??? Thanks in advance..
10
13865
chandru8
by: chandru8 | last post by:
Hi to all Can any one explain me to read data from an html file. iam have written the code to read an html file using file system object, but it reading the source code. thanks to all
0
7252
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7371
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7432
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7517
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5676
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3230
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3218
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1583
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
791
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.