boxy and form plugin

boxy and form plugin

Hi to all, I have a problem using together boxy and form plugins.
From the file dsp_progettitemplateform.cfm I create a boxy using this instruction:

  1. <a href="Javascript:void(0)" onclick="Boxy.load('dsp_tblprogettitemplate_ricerca_tabella_collegata_container.cfm?TabellaCollegata=TblOfferteCausali&CampoCodiceCollegato=Id_Single&CampoDescrizioneCollegato=Causale&NomeCampo=Causali_Form&FiltroRicercaNomiCampi=&Tiporicerca=codice', {title:'Ricerca Tabella Collegata',modal:true,cache:false});">

In the file dsp_tblprogettitemplate_ricerca_tabella_collegata_container.cfm I have put the javascript that (in theory...) allow me to submit the boxy via ajax:

  1. <script type="text/javascript"> 
    $(document).ready(function() {
    //jquery.form (ajaxSubmit)
    var options = {
    target: '#TblProgettiTemplate_ricerca_collegata',
    beforeSubmit: showRequest
    };
    function showRequest(Data, jqForm, options){
    $("#TblProgettiTemplate_ricerca_collegata").html("<div style='height:40%; padding-top:10%; text-align:center;'><img src='../../images/loading.gif'><br>Caricamento...</div>");
    }
    $('#TblProgettiTemplate_ricerca_collegata').submit(function() {
    $(this).ajaxSubmit(options);
    return false;
    }); 
    });
    </script>
In this file there are a grid which takes data from a table. Over this grid I want to change page and make a search with ajax submit.
With this code the results is that the submit is made but normally (not ajax), I can change page or make a search but not into the boxy as I want...

Anyone can help me?
Thanks in advance

MARCO