Wednesday, 3 August 2011

jquery for refreshing only div content

<script>
jQuery(document).ready(function(){
  jQuery("#amot").change(function() {
  //var file_name="components/com_virtuemart/themes/default/templates/common/shopIndex.tpl.php";
jQuery("#coupon-box").load("index.php #coupon-box")
return false;
});
});
</script>