This is the error I get when I try to download a file from Rapidshare.
ERROR: Please enable JavaScript.
I uninstalled and reinstalled Sun JDK 6.0. Sill the problem persists.
The problem is generic now. For instance I cannot use the collapse /
expnad links at the top of this post. I have also enabled all
scritping options in my browser (IE 7.0).
This page works fine when viewed in Firefox 3: http://jimpix.co.uk/ecards/no-words.html
But in IE6, I get a javascript error:
Line 5 Error: Syntax Error
But line 5 refers to this: <link rel="Shortcut Icon" href="../favicon.ico" type="image/x-icon" />
Which isn't even javascript.In firefox, the drop down menus work in the black nav bar, but not in IE6, probably because of this JS error.The page's HTML validates, in case that helps.And to make things stranger, the page in IE6 works without an error when viewing the page on my local IIS web server. It only breaks when viewing the page remotely.
I have text box on a form that when I click on a image link button next to it, it loads a JS pop-up window with a list menu and I select an item from that menu and it closes the window and sets the value to what I chose form the menu in the text box from the parent window. I am using javascript to accomplish these tasks, but when I then try to go into the text box and edit the text after I set the value, once I do so and exit the text box with my cursor this error appears:
ERROR: 'window.NewWindow.document.test1' is null or not an object
anyone know what this might mean?
I made sure that I had the form, text box, menu and variable for the script named correctly so I know it's not my naming conventions.
form name = test1 list menu name = Times1 text box name = plannedTime
When I try to change a thumbnail picture to a large one on a particular web site, it will not change as it did a week or so ago, and I get a message at the bottom of the web page that says "javascript error on page". Being an 80 yr old member of the CIA (Computer Illiterates of America), I am befuddled. What have I done and what do I need to do to correct this problem.
Anyway, I'm having a problem with some new pages I am creating for the Web site at www.weaverdevore.ca and I am wondering if anyone here might be able to help. Here is a full description of the problem:
I keep getting a JavaScript error that occurs when I try to re-open a closed popup window after it has been opened once with a javascript call. The message reads:
The callee (server [not server application]) is not available and disappeared; all connections are invalid. The call did not execute.
To see this error reproduced, go to www.weaverdevore.ca/?main2 (This is the temp page I am testing on until it works. Please ignore the page not found error in the bottom frame.)
Scroll down past the Flash advertisement to find a link labelled "Fraud Protection Policy." It will open the first time you click on it, but after closing it once it will produce this error and won't open it again. If you click on one of products displayed even further down, you will see that their popup works fine over and over. Also, if you click on any of the other links that use popups they can all be opened again and again without error. I tried duplicating popup pages that were working just fine and editing them to the new format, and still the same thing. The new popup windows I want to use for the site will be frames pages with a footer frame with print and close buttons and an info display frame above them. I have tried standard frames, as well as an inline frame (as the product view window uses). All produce the same error as a result. I tried making the close button a "submit" button and the form action a "javascript:parent.close()". I also tried making the form action "NULL" and using an onClick="javascript:parent.close()" and still the same error. I duplicated the product information screen, changed it by modifying the buttons (which are standard HTML image links, not form buttons) and even though the product window works, this duplicated one produced the error. Here is the code I made for the new popup:
This code is stashed in a .js file, but you can view all the other source code of any of the pages with a right-click. I cannot see anything wrong with my code, so if someone has any ideas I would appreciate if they could please send me an email to teknocat@refundprocessors.com, even if the reply is also posted here in the news group.
I have text input such as below. What I want is that when I press submit button if the Item Name is empty then I want the error text in red shown beside the text input. I am using php how can I achieve it?
I have some very strange problem on the Mac (OS-X) with the Safari browser 1.0 (v85). Some information in my form was not filled in... after I turned on debugging and checked the console it displayed some error messages.
The messages displayed were like:
(event handler): value undefined (result of expression trim) is not object. Cannot be called.
I have no idea what this means!!! Does anyone know where to find the solution for this problem? The page works fine on Windows with IE (and probably some more browsers).
The trim function is located in an exteral javascript file which is referenced in the head of the html. Code:
I have a page with words within TH tags. When you put your mouse over the entire table, it is supposed to change an image source location to the one in the onmouseover as well as a block of text. I keep getting undefined errors though. I've been unsuccessful googling for the past hour for the proper syntax for accessing the span and image properties in mozilla. I tried adding document in front of each monument, mainimg, and maintxt without any luck. It has worked fine in IE6.....
I have a site which uses a javascript fullscreen popup window which launches from the splash page (as well as a standard browser version for those with non-compliant browsers). All works well on both Netscape and IE, but if you're using Opera and you click on the "All other browsers" version, you get both the browser version and the popup version. This will probably be very irritating to Opera users. Unfortunately, I can't just program the popup for Opera compliance as well because it won't do fullscreen - it nests under the ad/control bars. Could someone look at it in Opera and maybe suggest a solution? Opera users don't make up a lot of my user base but I really prefer to be Opera-compliant.
I'm using Firefox with the Firebug add-on and whenever I load my test page with the contact form, I receive this error message in Firebug:
$(form).getElementsByTagName is not a function getElements([])prototype.js (line 1799) initialize("contact_form", Object immediate=true)validation.js (line 88) create()
I've got this to work before on other sites, but for some reason it's not working on this site and I just don't know why and I don't understand what the error is telling me.
I have recently set up a server certificate on a web site. Under certain conditions I need to change the color of a html span element.
I do this using the following javascript function called from the onreset attribute of the form element.
function removeWarningMsg() { if (isIE) { document.all.Warning.style.color = "<%=BACKGROUND_COLOUR%>"; } return true; }
This was working perfectly fine until I applied the server certificate to the website. Now when executing this line of code the following error occurs: Error: 'document.all.warning.style' is null or not an object.
Everything works fine with Opera and IE, but not with Mozilla 1.7.3 and Firefox 1.0 PR. When I call a function previously defined inside another function I've got "function is not defined". Why?
The javascript fails to call an embeded applet's function. In the javascript console, it shows "Error XXXX is not a function". Following are some parts of my code.
Here parent.document.cpmApplet and parent.BottomIframe.document.resultApplet are valid since I loaded both the applets with the same name using <APPLET> tag for Netscape/Mozilla and OBJECT tag for Windows.
The issue is with Netscape and Mozilla on Unix platforms only. I would appreciate if anyone could help me to solve this.
I have PHP file called file1.php with an empty <div></div> in the middle. I've added a 'load' event listener so that on page load, it calls an AJAX function that calls file2.php. file2.php creates a table and loads it into the <div></div> in file1.php.
file2.php has <a> tags in it's <th> columns and I wish to trap when a user clicks on the column heading. The old way was to use the onclick() method but I'd rather use event listeners.
Here's my problem. I am getting "obj has no properties" when trying to add those listeners. I *think* it is because the code in file2.php isn't part of the original DOM tree for file1.php. So how can I use event listeners instead of onlclick()? I know I can add top the DOM by creating elements and appending them but that adds to the HTML code and my code is already in place via the AJAX call. What to do...? DO I just use the old passe onclick() method?
I am trying to make a canvas element display an image with some text on using canvas.drawImage and canvas.fillText. Only problem is my code is generating a very odd and hard to debug error.
i want to do (multiple) file upload(s) and display a progress bar. with firefox and safari it is no problem at all. only IE makes some problems.
my script is based on ajax-uploader, which can be found at www.srmiles.com/freestuff/ajax_file_uploader/ . you can do multiple file uploads. each upload will have it's own "form"-tag, so that each file is uploaded for its own. could be a good solution if there are "big" uploads.
so here is what i do:
i have a html-page in which several forms with file-input fields are generated. when i now hit the "one" submit button at the bottom of the page a javascript function upload() starts it will iterate through all forms (id='frmUpload_xx'), will get the filename, start a ajax request for the progress-bar function and do a form.submit().
if the first form/file is uploaded, a settimeout('upload()', 1000); is called and the next form will be processed. all form's have an target="uploaddiv", where uploaddiv is a invisible iframe. so the output of the upload script is put in this div. output should only be a "OK" at the end. no usefull output no info no nothing.
firefox and safari are working as expected, only IE stops after the first file is uploaded. i get an javascript error saying "zugriff verweigert/access denied" on object line x... this is the place where i call "form.submit()".
this is the upload-function:
function upload() { if (uploads.length>0) { form = document.getElementById('frmUpload_'+uploads[0]); if (form["filename"].value == ""){ alert("Please Choose a file to upload."); } else { filename = form["filename"].value; if (filename.lastIndexOf("")>0) { filename = filename.substring(filename.lastIndexOf("") +1,filename.length); } else if (filename.lastIndexOf("/")>0) { filename = filename.substring(filename.lastIndexOf("/") +1,filename.length); } makeRequest("upload_progress.php?sid="+sid +"&filename="+filename,progress); form.submit(); } } }
the strange thing is, that filename is filled correct, that means the object "form" is found and exisits. the first iteration is working, only the second ends with an error.
think it have something to do with redirecting the output of the upload-script in an iframe. after that IE can't access form - at least IE is not allowed to submit the form as i can access a form field (filename). i worked on that the last two days and haven't found a solution...
When I put the in, I get the error message "object doesn't support this action". I've also tried putting in after the </body> tag as another script...no go.
I'm setting the cookie with these lines in another function: varScroll = document.body.scrollTop;document.cookie("Position") = varScroll;
Any clues/suggestions greatly appreciated. I recently posted a similar question, but rearranged how I was doing it, still no luck, so I'm trying again.
I used the code provided in Modern Web Design using JavaScript and DOM by Stuart Langridge to build a JavaScript sliding menu for navigation. I copied and pasted all the code, but I get the error message "EventCache is undefined" on my page. Can anyone explain why this is happening. I am a novice with JavaScript and was using this to learn.
The code in particular is as follows:
addEvent: function(elm, evType, fn, useCapture) { // cross-browser event handling for IE5+, NS6 and Mozilla // By Scott Andrew if (elm.addEventListener) { elm.addEventListener(evType, fn, useCapture); return true; } else if (elm.attachEvent) { var r = elm.attachEvent('on' + evType, fn); EventCache.add(elm, evType, fn); return r; } else { elm['on' + evType] = fn; }} };
IM NEW AT THIS AND I'M WORKING ON MY FIRST WEBSITE. I USED iWED AND I DON'T UNDERSTAND WHY IT WON'T WORK. WHENEVER I TRY TO OPEN IT IT SAYS: Parse error: syntax error, unexpected T_STRING in /home/a2460084/public_html/beto/index.html on line 1
<?xml version="1.0" encoding="UTF-8"?> <!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" xml:lang="en">[code].....