1
0
Fork 0
MySQLDumper/application/views/scripts/helper/ajax-load.phtml

21 Zeilen
565 B
PHTML

2011-06-10 21:55:32 +00:00
<span id="ajax-<?php echo $this->domId;?>">
<?php
if (isset($this->viewOptions['loadingMessage'])) {
echo $this->viewOptions['loadingMessage'];
}
if (isset($this->viewOptions['showThrobber']) && $this->viewOptions['showThrobber'] == true) {
echo $this->getIcon('ajax-loader');
}
?>
<script type="text/javascript">
$.ajax({
url: '<?php echo $this->url($this->ajaxOptions);?>',
type: "GET",
async : true,
cache: false,
success: function (data) {
$("#ajax-<?php echo $this->domId;?>").html(data);
}
});
</script>
</span>