Give help. Get help.

  • # June 22, 2012 at 4:03 pm

    Hi all,

    Does anyone know of a way that I can effectively disable or unload a script if input type=”date” is supported?

    I’m doing a design right now that I’m using datepicker.js for a dropdown to select a start and finish date for staying at a country house.

    However, I would like to use the built in date picker that comes on iOS and other browsers.

    Is there a way to disable the javascript that creates the drop down gallery if the device supports input type=”date” natively?

    Linky here: Contact Page

    # June 22, 2012 at 9:44 pm

    Instead of disabling a script, why not use Yepnope.js to load the script if needed.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.