• timmydeleu

    (@timmydeleu)


    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?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter timmydeleu

    (@timmydeleu)

    Sorry here is a click able link
    https://www.kohkoodguide.com

    Thread Starter timmydeleu

    (@timmydeleu)

    I was able to solve it myself by adding this to the head instead

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

    This is RESOLVED

    Hi Timmy,

    I am very keen to know how you added fastbooking.com script into WordPress. Would you mind give me some guides on this?

    Hope to hear from you soon.

    Thank you in advance.

    Best regards,
    Mr. Lo

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problem on IE with the date loading on a booking form’ is closed to new replies.