469,307 Members | 1,799 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,307 developers. It's quick & easy.

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 4189
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

Post your reply

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

Similar topics

2 posts views Thread by Anthony Williams | last post: by
8 posts views Thread by Bijoy Naick | last post: by
reply views Thread by RocketBot | last post: by
2 posts views Thread by jp2group | last post: by
reply views Thread by harlem98 | last post: by
1 post views Thread by Geralt96 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.