Ok, I'm using the simplest possible jquery ajax get call to execute a
database call in another php file (since I switched from using a
really nice prototype powered function thinking it was prototype's
fault for not working in Safari), but I can't get it working in the
latest version of Safari no matter what (as much as I couldn't get
prototype one to work in Safari either).

This works just fine in IE6, IE7 & FF3, but Safari is not budging -
it's not executing for some reason... here's the code:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml";>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Test</title>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
function setVideo(video) {
  $.get("setVideo.php", { video: video } );
}
</script>
</head>
<body>

<a href="http://download.com/video_1.zip"; onclick="setVideo
('video_1');">Click to view Video #1</a>

</body>
</html>

Using the latest jQuery and/or Prototype, and still can't figure out
why this simple call doesn't work in Safari... anyone? It's eating me
alive, consuming hours of my time trying to google up some solutions,
and no luck...

Reply via email to