Closed

Fix ajax(jquery) bug for Safari/Chrome compatibility

This project was awarded to bildstudio for $30 USD.

Get free quotes for a project like this
Employer working
Awarded to:
Skills Required
Project Budget
$30 - $250 USD
Total Bids
10
Project Description

I’m loading a jquery UI datepicker with $.load(). The code is:

$(document).ready(function(){
$('.choices').click(function(e) {
var url = $(this).attr('href');
$('.con_cen').load('[url removed, login to view]');
[url removed, login to view]();
})

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.

Safari’s Javascript console says it’s a 404 error. I have found possible solutions on the internet but do not know how to implement them. Here are the links to the possible solutions (they all seem to involve iframes):
[url removed, login to view]
[url removed, login to view]
[url removed, login to view]

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.

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online