I have having a problem with a jquery script showing up in every other browser except IE.
Below is a very very very simplified version of the script and this wont even show up. Please help Ive been working on this problem for about 2 weeks now
<script type="application/javascript">
$.getTime = function(zone, success)
{
var url = 'http://json-time.appspot.com/time.json?tz=' + zone + '&callback=?';
$.getJSON(url, function(o){
success(new Date(o.datetime), o);
});
};
</script>
calls the fuction to load library hours
<script type="application/javascript">
$.ajax({ type: "GET" ,url: "xml/LibraryHours.xml", dataType: "xml", success: function(xml){
$.getTime('GMT', function(time)
{
$('<li/>').html('Work' ).appendTo('#update-target p');
});}}); //close ajax{
then the update html area:
<div id='update-target'>
<!--<a href="#">Click here to load Library hours</a>-->
<p></p>
</div>