I am not really sure where to start with this as my function works perfect in IE 6. However when I select one of my categories and hit submit in Firefox or IE7 or 8 nothing happens. No error message. Just nothing. How can I get this working for firefox and IE7/8?
[CODE] <script language="JavaScript"> var categories=[]; var categorieslist=[];
i have used <param name="wmode" valur="transparent" /> and in <embed> tag inserted wmode="transparent" for overlaying the menu over flash player in my web site... it worked in firefox but not in chrome and IE.
My professor asked us to make a webpage that has a user register and login in via a xml document. We can omly use html, javascrip and css.I made a function that loads users from an xml file and authenticates them. It works only on firefox and not IE. This is a problem because i am using ActiveXobject to write to the file.Here is my function that loads xml:
The script runs fine in firefox. In internet explorer when the loop runs for the first time, it sets the variables properly but the following times through the loop, my productId and variantId variables are undefined.
$(document).ready(function() { var size = []; var productId = []; var variantId = [];
I am pretty new to Javascript having a bit of a problem with a website with Google Maps integrated. URL I have two checkboxes (ccCheck and caccCheck). The basis is when the box is ticked, it overlays a KML onto the map. This is working fine in Chrome, but in FF and IE it doesn't work, IE returns 'ccCheck is Undefined'. The code I am using is in the JS file, the bit it gets stuck at is as follows:
[Code]...
If I stick a ccCheck = document.getElementById('ccCheck') within the onclick function (before the if statement), it places the overlay onto the map, but then when I untick the box it just stays there. It's such a simple thing (I think), and must be down to IE being pedantic about declaring the variable properly, the question is how should I be doing this?
I have come across a problem that seems common with firefox and the use of event. I have a simple javascript function which trys to determine the element that an event was acted upon:
Code:
This is called on click of a input:
Code:
This seems to work correctly for every browser except firefox. A quick search online and all the fixes seem to include:
Code:
But when I debug this function, neither e or event are defined, am i overlooking something really obvious?
I have this problem, document.all is undefined in Firefox. But when I tried using IE it works fine. I tried replacing document.all to document.getElementById but another problem occur, cltPlusMinus is undefined. Below is the function.
PHP Code:
function toggleClient(cltID) { var cltProjects = document.all["clt" + cltID + "Project"]; var undef;
I have encountered an issue with Javascript and my novice skill set has not allowed me to find a solution. On a page I have several images, when the user clicks on an image I pass some info about that image to my display html page. In the display page I want to display two images so I append Zoom.jpg and Medium.jpg to the string I passed. FireFox displays both images but IE does not seem to know what to do with it.
well as the title indicates I have a little bit of javascript code that works perfectly in IE but not at All in FireFox. the code checks the length of text in a textarea. the code for the textarea: Code:
I'm writing a SOAP type application that only works over ssl. Authentication works with Firefox but fails when I use a different browser. For some reason, chrome, opera, IE all omit the POST information and I don't understand why. Below is the requests sent to the server from Firefox and Opera. Following that is the javascript that sends the password. My js skills are pretty weak to say the least. Is "document" cross compatible or different for all browsers?
------------------Recieved------------------- POST /authme.cgi HTTP/1.1 Host: localhost:6060 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20100101 Firefox/5.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
This program (the search function) works well with IE8 but it is a mess with Firefox. My knowledge of Javascript is very limited:o. I have been unable to find what is wrong.
I have created a very simple JavaScript code to display larger images of a thumbnail image on the main section of a website. It works fine in FF3 however in IE 7 is giving me an error code of Invalid argument on line 6 character 1. The funny thing is I have used this exact code in another site and it worked fine with IE 7.
I am getting the following error in firefox and nothing happens when I click on the image map.
The "coords" attribute of <area shape="rect"> tag is not in the "left,top,right,bottom" format. As you can see above, I am using shape="poly" and not shape="rect".