473,386 Members | 1,823 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Problems showing site in IE

80
Hi!
My sites runs fine in Chrome and Firefox, but when trying to navigate it using Internet Explorer, some problems acurs..

Expand|Select|Wrap|Line Numbers
  1. SCRIPT5007: Unable to get value of the property 'getElementsByTagName': object is null or undefined 
  2. DetailsJSFile.js, line 49 character 1
  3.  
  4. SCRIPT5007: Unable to get value of the property 'submit': object is null or undefined
  5.  
The two functions serve somewhat the same need, passing a form on, one of them waits a few seconds before launching these are:

Expand|Select|Wrap|Line Numbers
  1. <!-- SUBMIT FORMS -->
  2. <script type="text/javascript">
  3. function submitform(SubmitVar)
  4. {
  5.     document.forms[SubmitVar].submit();
  6. }
  7. </script>
  8.  
  9. <script language="JavaScript" type="text/javascript">
  10. function sendWait()
  11. {
  12.   document.getElementById('This').submit()
  13. }
  14.   setTimeout( "sendWait()", 2000)
  15. //-->
  16. </script>
  17.  
Im pretty new to Javascript and would believe there should be some kind of "quick gettaway" here.

The site is http://www.poleshop.dk

Does anybody have the formel for this?

Regards.
Frederik
Feb 25 '11 #1
2 4333
Pheddy
80
SOLVED: Problems with .JS File. I removed it.
Feb 25 '11 #2
johny10151981
1,059 1GB
I just checked.. did you really solved it?

Expand|Select|Wrap|Line Numbers
  1. <style type="text/css">
  2. html { overflow: auto; }
  3. </style>
  4. <!-- Code starts Below this line -->
  5.  
  6. <?xml version="1.0" encoding="iso-8859-1"?>
  7. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  8. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="da">
  9. <head>
  10. <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
  11.  
  12.  
this is first few line from your code..

your style is out of HTML tag,

your xml encoding and html encoding is differe....
(even though i have little(no) idea about XML)
Feb 26 '11 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Anthony Williams | last post by:
Hi, I just updated the Ashwater website at http://www.ashwaterparish.org.uk to use CSS rather than frames/tables for layout. It works fine in NS7.1, Mozilla Firebird 0.6, IE6, Opera 5 and...
6
by: Tim | last post by:
I am in the process of moving a site from one hosting company to another. This site is fairly large, with hundreds of asp files, each with multiple "include" statements. The new host has a...
8
by: Bijoy Naick | last post by:
It seems like the BBC sports site is able to get past popup blockers.. For eg.. http://news.bbc.co.uk/sport1/hi/cricket/default.stm. Click on the Video icon under "Watch and Listen" - right hand...
0
by: Foysti | last post by:
Hey I have a dataset which I want to list twice in the same report. How do I do this? I have tried to create a subreport and imported it into the main report. But It dosn't show anything when I...
0
by: RocketBot | last post by:
Hi I am having problems running a site localy using the IIS server. Running pages normally is fine, but when I use a master page the VB Controls do not work. For example a button on the page...
2
by: aasif | last post by:
Hello, need some help with "HelpProvider" in vb2005. I have made a .chm file, and have a topic in there with TopicID called "Login". I have tried for sometime to get (on f1) to launch the .chm file...
2
by: jp2group | last post by:
I have a Main Form that hides in the Task Bar Tray as an Icon until one of the Tray Icon's Menu Items is selected. (think of your antivirus program running there) The program starts up fine and...
2
by: James Pyott | last post by:
Iam new to building websites and recently have had issues with some sites not displaying properly in IE on a pc they look fine on the mac in all browsers. Need urgent help. ive put up a test page...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.