Hi, just try to put into the loaded page:
<script type="text/javascript">
<?php echo $this->jQuery(); ?>
at the end of your code. And does it works. For some reason with out putting
script start tag before JQuery it doesn't work.
for example:
<div id="content" style="overflow:auto;">
"javascript:loadContent('<?php echo $this- baseUrl;
?>/viajesos/agregarviajeos');">
Agregar Viaje One Shot <br />
</div>
pick your date: <?= $this->datePicker("dp1",
'',
array('defaultDate' =>
date('Y/m/d', time()))); ?>
<script type="text/javascript">
<?php echo $this->jQuery(); ?>
This is an phtml loaded from a dialogcontainer.
Cheers.
vladimirn wrote:
>
> Thanks.
> Can u just tell me why Edit and Delete are not inside a href in
> hello.phtml?
> It wont allow me to post how link looks like so i will improvize:
> <href="#" id="delete" onclick="$.post('/admin/index/hello', {},
> function(data, textStatus) { $('#contentJ').html(data); }, 'html');return
> false;"> [Delete]
>
> See? [Delete] is totally out of link tag.
>
--
View this message in context:
http://old.nabble.com/jQuery-Ajax-link-inside-container--how-to-make-this--tp20703903p26261541.html
Sent from the Zend Framework mailing list archive at Nabble.com.