473,569 Members | 2,716 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 1945
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
1271
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 replace the current html that has the 2 drop down boxes and it has its own set of design and graphics. So depending on the selection chosen, instead of...
7
7660
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 that portion of the screen? I know how frames work. I hate frames. I like the SPAN tag, and I would like to be able to change the text within...
2
1474
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 instead of loading another html-file. so, is it possible to change the content of a html-file on the disk? or create a new html-file, write the...
2
2905
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 a similar pattern? ex: I have a field {Token = LoanNumber} in the html file. I just need to replace Loan Number with some text by finding the...
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
2257
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 restore Ms Access table using VB code - open HTML file using VB code Is there anyone can help me please? It's urgent. Thanks before
10
7767
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
1881
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... thanks in advance.. with reg Inbaraj.d
4
7313
by: MarkTingson | last post by:
Hello, Can anyone here tell me how to open a html file using VB6??? Thanks in advance..
10
13885
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
7694
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7964
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6278
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5504
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5217
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3636
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2107
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 we have to send another system
1
1208
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
936
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.