69
hello again,
I could find the code:
I used it with mxdirectory and it works perfect :
1- I called a jquery code :
<script type="text/javascript" src="{X_SITEURL}modules/mxdirectory/jquery-1.2.6.min.js"></script>
it's the same one in js xoops that we call in themes as :
<script type="text/javascript" src="<{$xoops_url}>/browse.php?Frameworks/jquery/jquery.js"> </script>
2- I create a block in xoops and I put this content :
<script>
jQuery.noConflict();
jQuery(document).ready(function($) {
jQuery.get("{X_SITEURL}modules/mxdirectory/search.php", function(data){
$('#quickcomment').append(data.substring(data.indexOf("<form name='submitform'"),data.indexOf("<!-- End Form Vaidation JavaScript //-->")));
});
});
</script>
the road of success is always under construction