Problem on IE with the date loading on a booking form
-
I have added a booking form to a website with belongs to fastbooking.
You can see a temporary website here. [URL=”https://www.kohkoodguide.com/”]https://www.kohkoodguide.com/[/URL]
It works perfectly fine in Mozilla Firefox, Google Chrome, Opera and Safari but it does not load on Internet Explorer.
On the other browsers the form loads todays date and the year is generated but on IE the date stays on 01-01 and no year is generated.
I think the code that is not loading is [CODE]<body onLoad=’start();’>[/CODE]
But I’m not sure. The code of the year is [CODE]<select name=’fromyear’ class=”input” onChange=’update_departure();’>
<option value=”0″></option>
</select>[/CODE] But since it’s no just the year I assume its the onload code.I tried to add the onload to the header function like this
[CODE]<body onLoad=’start();’ <?php if(function_exists(‘body_class’)) body_class(); ?>>[/CODE]
So now wordpress generates the following code when it loads the page
[CODE]<body onLoad=’start();’ class=”home page page-id-6 page-template page-template-default logged-in”>[/CODE]
But sadly the date still does no load on Internet Explorer. I’m out of ideas, anyone?
- The topic ‘Problem on IE with the date loading on a booking form’ is closed to new replies.