Hi Eric,
I was using simple module jquery plugins, its great but I have one small issues regarding this.
I want to close the current module window and open same after executing some ajax, but it does close and open.
I used the following code.
<script language="javascript" type="text/javascript" >
jQuery(document).ready(function()
{
jQuery('a.delete').click(function(){
id = jQuery(this).attr('rel');
$.ajax({
type: "POST",
url: '<?=base_url()?>cart/delete/'+id+ '/',
cache: false,
success: function(data) {
alert(id);
// jQuery('<div id="ajax-popup"></div>').hide().appendTo('body').load('<?php echo site_url('cart');?>').modal();
$.modal.impl.close();
}
});
return false;
});
});
</script>
The $.modal.impl.close(); command does not work anymore
Could you please help me regarding this? Thanks Umesh