OK, never seen anything like this before. I have this AJAX shopping cart I am developing where they add a product and the side bar of the site updates what's in the cart automatically. Works perfect in all browsers except IE (6 and 7).In IE it works the first time you add a product then after that the sidebar does not update AND there are no JavaScript errors. The cart is actually updated because when you refresh the page all the items you added are there.... got me scratching my head to say the least.Here's the scripts that run it (a little messy because I am still tinkering with it:
I've been banging my head against this for a bit now and have been reading all kinds of things - but, everything I try has failed. So, I thought I'd ask.I've just begun working with Javascript/Ajax .. in the last day to try and accomplish a task but, I can't seem to get this code to work in IE it works fine in Firefox.Perhaps someone can enlighten me - Basically, this is calling back from a php file that updates from a database to choose dropdowns/checkbox based on the users choices.
function getSex(theSex, myParent){ var ajaxRequest; try{
I am trying to make comments system and i want to add smileys.the content of each comment is written in TEXTAREAI have a JS code that gets a "smiley code" like :) and adds it into the TEXTAREA. i mean it adds :) :( XD ;) or what i sent to the function.the TEXTAREA code:
how I can make this work in IE as well?? It is a code that shows a divide on click and then hides the rest at the same time.live code is also at chryscreations.com/ns/boynames.html
Does anyone see anything wrong with this code? It's a mystery to me why it works fine in all browsers but IE6/Win. Not getting any JS errors or anything to help debug.
<script type="text/javascript"> function submitGeoSelect ( geositeID ) { var geoURL = "https://<?= $_SERVER['SERVER_NAME']?>"; switch ( geositeID )
[URL]...At the page above, at the bottom, there is a button that says "E-mail Seller". This loads a small contact form in a jQuery fancyBox (lightbox). The following script (form-handler.js) is meant to handle the form to and from the form-handler.php.
[Code]...
Everything works fine in Firefox, IE and Chrome. However in Safari, it's like the contents of form-handler.js are not there, its not doing anything. Using Safaris dev tools you can clearly see the script has loaded fine.
I'm making a Google Map that reads info from a database and pulls Twitter usernames from it to plot points on a map. In the infowindow of these points I have some code that displays the Twitter users latest tweet. There's alot of code for this map so i'll only show you the part i'm working on, which is the read database part:
Code: function readData() { var request = GXmlHttp.create();
I am trying to set up some code to control a mouseover popup image. I have the script that works except in certain browsers the results are different.This is the page: (just mouse over the first players name).Here is the script:
<script type="text/javascript"> function ShowPopup(hoveritem) {
Im using The Superfish Menu code(http:url....) in a web page and it works in all the browsers except Internet Explorer 8, because it says:t ohelp protect your security, Internet Explorer has restricted this file from showing active content that could access your computer.
This is an example of what I currently have. There is also a button which adds more rows. It wasn't too hard to get it working using CSS and innerHTML:
However, due to mass css headaches with the layout, I' like to see if it can be done it tables instead and using the DOM methods (nodes, createElement etc)
so far, the examples I've seen either don't allow the same functionality or don't work across IE5+(win), and modern versions of FFox, Safari and Netscape (MAC + WIN)
Does anyone know of a good class/example/tutorial?
I recently made a simple tool that opens a website in an iFrame and tells the user how long the page took to load. I made it out of a premade stopwatch
When i run the test in most browsers (Chrome, Firefox 3.6 and older, IE) it works fine with the output textbox going from "Please run the test" to "Test Running" to [TIME TAKEN FOR PAGE TO LOAD] but in firefox 3.7 (Minefield) it goes from "Please run the test" to "0" every time and the page in the iFrame doesn't load.
I've read that Firefox 3.7 has a new Javascript Engine
The test is at [URL] and the problem code is on THIS PAGE (Use View Source in your browser)
The cycle plugins works great inMozillabut when comes to IE 8 it shows up the above error.I have given the height as auto.But in chrome the image is cropped.Why could be that happened?The image rotates in chrome but its a portion is visible only.I am using J-query version - jquery-1.4.2.min.js and cycle version isjquery.cycle.all.2.74.js
Have been trying to figure this one out for some time, but still can not get this AJAX script to work with Internet Explorer. It works with all other browsers.
I am trying to get my site [URL] to run consistently on all browsers. I'm using AJAX code that works great on Safari and IE8, but only work intermittently on Firefox and Chrome.
I posted this problem in the old mailing list, but I thought Id try here with a larger set of eyes.
My issue seems to concern webkit browsers. I am sending information from a form with a jQuery click function. I am loading the response from one form that is a DIV called rightContent to the same DIV and passing the
There is another annoying thing about pop-windows in IE, they seem to hang your browser, if you have more than a couple (4-5 or more) browser windows open.
Anyone else experience this? I think has to do with the way the popup is coded. I discovered if you don't specify a name in the Javascript call ther seems to be no delay.
false; - where the '' is where you normally would name the window.
I have an application running on a non-interactive kiosk that I need to keep updated with information that will be provided by a remote server. To do this, I've created an XMLHttpRequest/Microsoft.XMLHTTP object that checks the modified date in the header of a watched file that resides on a remote server.
This function runs on an interval, and if it detects a change in the modified date since the last check, it retrieves new information from the remote server.
i am new to AJAX but i havejust managed to write one of my first basic scripts. What it does is takes all the news items out of a database and lists them as links. When you click a link i want all of the data that is linked to that news item to display underneath. Now i have got this to work except it will not work in Firefox, all other browsers it is fine.