<script type="text/javascript">
$(document).ready(function() {
var $latest_dialog = $('<div></div>').dialog({
autoOpen: false,
modal: false,
position: 'center',
zindex: 3000,
width: 400,
height: 350,
resizable: false,
draggable: true
});
$('.latest a').click(function() {
var URL = $('#outage').attr("href");
$.get(URL, function(data) {
$latest_dialog.html(data);
$latest_dialog.dialog('open');
});
return false;
});
});
This works fine in IE and FF.. but in Chrome or Safari, again just takes me to those pages as opposed to opening the dialog.
search_outages.php:
$(document).ready(function() {
$("#start_date").datepicker({
duration: '',
showTime: false,
constrainInput: false,
stepMinutes: 1,
stepHours: 1,
time24h: false
});
$("#end_date").datepicker({
duration: '',
showTime: false,
constrainInput: false,
stepMinutes: 1,
stepHours: 1,
time24h: false
});
});
This is the binding for the date picker. This too works in IE and FF and fires off the datepicker via the index.php page. However, it Chrome or Safari, it does nothing. I don't see any errors as well. Can anyone tell me what I may be doing wrong here?
Thanks again and apologize for the long post.
[RQ]