I’m loading a jquery UI datepicker with $.load(). The code is:
var url = $(this).attr('href');
The code works when I load a standard html page. When I load the datepicker, the code works for Firefox, IE, and Opera but only works after refreshing the page 1 time with Google Chrome. It fails completely with Apple Safari. I need someone to code a solution.
Only solution's that work for Chrome, Safari, IE, Firefox, and Opera will be accepted. I would prefer to use Google’s content delivery network as opposed to a hosted jquery library.