Trying to load .datepicker()
inside a .dialog()
I'm doing this, but it doesn't seem to come up at all in the dialog:
$(document).ready(function(){
$("#ui-datepicker-div").css("z-index","9999 !important");
// tried this too
$(".ui-datepicker").css("z-index","9999 !important");
});
FireBug says it's still <div id="ui-datepicker-div" class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all" style="position: absolute; top: 339.4px; left: 656.4px; z-index: 2; display: block;">
when loaded.
Whats wrong here? I looked at this with no help: Trouble with jQuery Dialog and Datepicker plugins