Web Design Forum: Year on Booking form doesn't show on IE, it does show on all the other browsers - Web Design Forum

Jump to content

WDF
WDF Premium Memberships Reseller Hosting
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Year on Booking form doesn't show on IE, it does show on all the other browsers Rate Topic: -----

#1 User is offline   timmydeleu 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 13-February 11
  • Reputation: 0

Posted 13 February 2011 - 09:52 PM

I'm having a problem with a booking form but only on internet explorer (IE? Who would have thought :) !)

I added a temporary website but I can't post urls until I reach 25 posts. This is not a spam link so I'll post it like this kohkoodguide dot com (this is only a temporary domain until I move it this week)

I hope thats ok

For some reason you cannot select the year on internet explorer. I tested it on Mozilla, opera, safari and chrome and the years shows on all of them but not on IE.

I was hoping to find what could be causing this. The cms I'm using is wordpress.

I'm really puzzled here.

Timmy
0

#2 User is offline   Lev 

  • -'-
  • PipPipPipPipPip
  • Group: Members
  • Posts: 3,946
  • Joined: 28-October 09
  • Reputation: 258
  • Gender:Male
  • Location:Russia
  • Experience:Advanced
  • Area of Expertise:Web Designer

Posted 14 February 2011 - 09:11 AM

This is a fragment of youp page code
<!-- YEAR -->
<select name='fromyear' style="width: 50px" onChange='update_departure();'>
  <option value="0"></option>
</select>
  


Obviously javascript that should generate year does not do it correctly.
0

#3 User is offline   timmydeleu 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 13-February 11
  • Reputation: 0

Posted 14 February 2011 - 04:49 PM

View PostLev, on 14 February 2011 - 09:11 AM, said:

This is a fragment of youp page code
<!-- YEAR -->
<select name='fromyear' style="width: 50px" onChange='update_departure();'>
  <option value="0"></option>
</select>
  


Obviously javascript that should generate year does not do it correctly.



Hello,

It's strange that it only does not load in internet explorer. It works fine all the other browsers.

I first tough it was the <body onLoad='start();'>

Do you have any idea how to make it the year load correctly.

It's not just the year. In the other browser the form goes to todays date but in internet explorer it goes to the first of januari and the year doesn't show, so I think it's more then just the year.
0

#4 User is online   webdesigner93 

  • Web Guru
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,976
  • Joined: 22-September 09
  • Reputation: 222
  • Gender:Male
  • Experience:Web Guru
  • Area of Expertise:Web Developer

Posted 14 February 2011 - 05:34 PM

View Posttimmydeleu, on 14 February 2011 - 04:49 PM, said:

Hello,

It's strange that it only does not load in internet explorer. It works fine all the other browsers.

I first tough it was the <body onLoad='start();'>

Do you have any idea how to make it the year load correctly.

It's not just the year. In the other browser the form goes to todays date but in internet explorer it goes to the first of januari and the year doesn't show, so I think it's more then just the year.

try
<script type="text/javascript">
window.onload = start;
</script>


in the head section below ur function ur trying to call, then remove onload = 'start();' from the body tag

This post has been edited by webdesigner93: 14 February 2011 - 05:35 PM

0

#5 User is offline   timmydeleu 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 13-February 11
  • Reputation: 0

Posted 14 February 2011 - 05:44 PM

View Postwebdesigner93, on 14 February 2011 - 05:34 PM, said:

try
<script type="text/javascript">
window.onload = start;
</script>


in the head section below ur function ur trying to call, then remove onload = 'start();' from the body tag


Thank you very much, it worked! :good:
0

#6 User is offline   Lev 

  • -'-
  • PipPipPipPipPip
  • Group: Members
  • Posts: 3,946
  • Joined: 28-October 09
  • Reputation: 258
  • Gender:Male
  • Location:Russia
  • Experience:Advanced
  • Area of Expertise:Web Designer

Posted 14 February 2011 - 05:48 PM

IE8, Win 7 - works perfectly.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users