JQuery :: Load Not Working Only Within A Certain Company's Network
Jan 21, 2011
I am using a straightforward jquery.load() command which loads a set of html content into another HTML. I have tested this functionality across multiple browser from multiple computers in multiple locations, and it works fine, but for some reason within my client's office network, ajax content does not load. No browser errors are thrown. All I can tell is that within safari, for example, I will get a "cancelled" message in the activity log.
I have text area that includes the full path for a local file on our company network. The files are usually excel sheets or docs. How can I have it so when they clicks the file it opens the local file?
I'm fairly new to jQuery. I'm currently using the jCarousel plug in to display multiple addresses for a company and it works great, up until I add a new address for the company a new <li> in the <ul> list. Then my jCarousel stops working.I understand the answer is to use the new delegate method but I haven't been able to find the right way to use it.[code]How do I modify this code so that I can use delegate?
I am completely new to jQuery, and I don't even know how to approach or implement what I am trying to do.Before the home page of a site I've developed appears, I want the logo of the company to appear on the screen, then fade out to reveal the web page with full functionality.I also could do this be fading out the logo to reveal a static image of the home page which then could redirect to actual home page.
I am about to launch a SharePoint site with thousands of users accessing the site from a very, very slow network. Two questions. Is there a way to 'install' jquery so that it doesn't download every time they access the site?
_All_ users are on the same domain and are using IE7. Once they download JQuery on the initial page visit, does it still redownload the file every time they access the site? Temporary internet files don't get cleared after each session, so I'm assuming it doesn't get re-downloaded.
I've been going bonkers trying to find the answer to this question... I'm hoping somebody out there can help me. Our network environment is Active Directory and our web server is Windows 2003 IIS 6.
I've got an ASP page that we include into each of our pages to act as our companywide header. We force users to authenticate into our Intranet site, and we are able to display the following information about them on each page:
Welcome (username) Today is (whatever)
Can Javascript or Dhtml or something else get me this information? We have thousands and thousands of webpages and I don't want to have to use the .asp extension on every single one if I don't have to... but I can't find a way to display the username in the header without it =| Somebody mentioned using File System Objects, but I haven't yet experimented in that arena. Code:
I am creating a website for my company's helpdesk and need an Event Calendar for conference room reservations. User need to be able to check the availability of conference rooms and enter a reservation on the calendar.
Both an EtherNet (wire) network and a wireless network are referred to as a Local Area Network (LAN). A wireless network does not require hubs, switchers, or routers to include additional users on the network. Additional wireless users are supported just by being in the immediate physical span of the network.
A wireless LAN (or Wi-Fi network) may be configured in two different ways:
Ad Hoc mode: Allows only for communication between different personal computers and wireless devices, often referred to as peer-to-peer communication.
Infrastructure mode: Required for communication with the World Wide Web, a printer, or a wired device of any sort. In either case, this wireless connection requires a wireless network adaptor, often called a WLAN card. Code:
I have an input text field with an add/submit button - it's purpose is to add tags to an article created in a CMS. Whenever a tag is entered
1) I am using a click listener on the submit button
2) and am calling Jquery.load() to perform some checks/validation and
4) add the tag to the database
5) then retrieve the new set of tags for that article and inject them into the DOM.
Therefore there are two click listerners in my header:
1 for the submit button:
$('#tags_submit').click(function() { var tag = document.getElementById('tags_search').value; var article_id = document.getElementById('a_id').value; $('#tags_results').load(submit_link, {tags_search: tag, a_id: article_id});
Looking over other threads on this site I was able to use another members script to build my own for adding a network printer via JavaScript on our Intranet. With that, the script works perfectly fine when testing it on the local machine I built it on, but not on other machines in the office. Currently I'm remoted into the branch office I reside in from the corporate office where I'm currently at so the machines being tested are on different subnets, but the script is simple calling the UNC path for the printer. When tested on any other computer, and the link is clicked on the page, the user is taken back to the folder in windows explorer the HTML file is saved in, rather than executing the add printer portion of the script.
This is my full code as of now, I was trying to get the function correct before formatting the actual website (obviously) Code: <html><head> <meta http-equiv="Content-Language" content="en-gb"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>Printer Mapping</title> </head> <script> function addPrinter25(){ var x=confirm("You are about to add printer GPSACC01. Would you like to make this your default printer?") if (x==true){ WshNetwork = new ActiveXObject("WScript.Network"); var PrinterPath = "\\gpsprnt02\gpsacc01"; WshNetwork.AddWindowsPrinterConnection(PrinterPath); WshNetwork.SetDefaultPrinter(PrinterPath); alert("Printer GPSACC01 has been added successfully and set as default") }else{ WshNetwork = new ActiveXObject("WScript.Network"); var PrinterPath = "\\gpsprnt02\gpsacc01"; WshNetwork.AddWindowsPrinterConnection(PrinterPath); alert("Printer GPSACC01 has been added successfully") }} </script> <font color="#0000FF" face="Arial"> <a href="" onclick="addPrinter25(); return false;">GPSACC01</a></font> </body></html>
I have a web page that is not and will not be hosted on a web server. So no PHP, ASP solutions will work here. The method of access is File://. We only run IE 7/8 so no solutions that are firefox only. Here is what I want to do: Use javascript to build a table by reading a XML file stored in the same folder. When I try to use something like:
I have an ActiveX Javascript function, that pulls data from an HTML table and then populates an Excel Workbook. This works OK, but I need to save the workbook to a network path. I have successfully saved it locally:
Code: // Save the Excel Workbook xlBook.SaveAs("C:\TEST.XLSX"); But this does not:
Code: // Save the Excel Workbook xlBook.SaveAs("\Server\Projects\TEST.XLSX");
When attempting this, I get this error: SaveAs method of Workbook class failed Which refers to the above. I have tried different variations, but with little success (sometimes the path will default to the Server's 'My Documents'/'User Shared' folder, with the filename: ServerProjectsTEST.XLSX
I have tried this code using the .ajax and .load and it does not work in in IE. I have tested in Chrome, Safari, Firefox, Opera and all run it just fine. The point of using JQuery for this is because the client I am developing for will not allow me to use any server side code. Since this is navigation it is subject to change...and I don't want to change it on "100" pages. This is why I am loading it dynamically.
[Code]...
If you go to the site above and view the page in Firefox or Chrome you will see a left hand navigation. If you do it in IE you will not see this navigation bar.
One final thing...when I was checking this on adobe browser labs....the navigation seemed to show up on the IE browsers, but I can't seem to get it to work.
If I load all the external page, the javascript works... But if I only load a fragment (using .load("page2.html #only_load_this")), the javascript is not executed.
Here is my code:
This is index.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head>
I have a piece of code which has worked great in the past on this very site, but for some reason now, has stopped working. I put in the .ready function to try and fix it bc I understand that is a crucial peice of syntax for jquery. Still the code does not work. Everything in this code is not being executed, its like the code is being ignored.
[CODE]
If you would like details on the rest of the code, it can be found at: [url]
I use the load js function to load the navigation menu on most html websites I build. I use it on my websiteHowever with the release of IE 9 just recently, according to adobe browser labs the load function is not working. Is anyone else experiencing this problem? Don't tell me IE 9 is not going to allow this to work. It works fine in IE 6, 7 and 8.I use a mac so can't test properly as my VMware is running vista which doesn't allow IE9 to be installed.
i'm new to jquery and javascript and am self taught (so i am always new to everything!!). my concept is to keep a web page side bar and header and to use menu items ( on click and load) to place pages into my main div. I have done that with images on the first loaded page...then if you click on the images another page gets loaded into the same div this works in ie, chrome and firefox...but not in safari.i don't know if i have a code problem, i have placed my javascriptin the wrong areaor it just is not possible..
I just discovered Jquery just yesterday... I was looking for another way to display a website menu (simple HTML with javascript code) instead of an iframe. I found an amazing solution using Jquery on a Yahoo! answer page.
I have no idea what's wrong because the "external HTML file" simply do not appear in Chrome 12... Nothing!
I'm sure this is not a HTML coding error issue because my code complies HTML 5 (I used the W3C Markup Validation Service ) AND everything(display and behavior)works extremely fine on Explorer 9, Safari 5 and Firefox 4.
My "main HTML file" only contains a fixed background image... and will be the template for all page of my site for specific content.
My"external HTML file" (the site's menu) only contains a 3 rows table (for positionning) and an unordonned link list with onmouseover and onmouseout javascript calls.
The javascript code is stored in an external .js file.
The css code is stored in an external .css file.
I use thecurrent minified version ofJquery.
All these files are in the same local folder.
Here is the code I use to call the "external HTML file" (I removed the unnecessary things from the Yahoo solution) :
By the way, is the ending ); useful ?
I do not understand the "current - 1 version" showed on yourcompatibility pagefor Chrome.
Does it mean current "minus" one version ?
I could perform a javascript browser detection and if the browser is Chrome... Show an Iframe.
from reading here and there understood that js does not work insuccessively .load() pages, yet I tried the proposed workarounds but could not get to work, perhaps lacking a bit of understanding about the eventhandlers, of whether there are just being not read inside the html or being ignored or... this html is being injected via .load() into a div which was injected the same way before already
I found jQuery simply amazing and been using this since then. My first and current version that I use is 1.4.2. My code below works fine in 1.4.2 until I upgraded to 1.6.1. I'm using CI for my php,btw.$("#ResultPanel").html(ajax_load).load("irs/login"+"#div_One"); After I upgraded to 1.6.1 Firebug reports "404 Page Not Found. The page you requested was not found". But when I switch back to 1.4.2 it works fine again. When I read the 1.6.1 release note it only says .attr() and prop() method nothing that I understand about .load().
my code that no longer supported in 1.6.1 released?
I am new to jQuery and would be glad if someone help me out with this. I want to insert content from external html files based on links clicked. I am using the following code
[Code]...
It works great with all the browsers except for chrome. In Chrome, the ajax-loader image displays.Then it disappears which means that the setTimeOut function has been implemented. But then it displays nothing. So I don't know whether the browser has even entered the 'go' function or not.
I'm trying to load a remote URL (or rather just test to see if a remote page exists).
This works just fine:
But swap in a remote URL and I get nothing:
I don't actually need to load the remote URL, just determine if it's accessible (using it to test whether a user is connected to intranet or not). But I can't even seem to get to that.