We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17921
    • 101 Posts
    Hi, I`d like to khow what to add to this

    <script type="text/javascript">
    var $j = jQuery.noConflict();
    $j(document).ready(function(){
    $j("#mybutton").click(function () {
        $j.post("[~nn~]",       
          $j("#CallBackForm").serialize(),     
          function(data){               
            $j.fn.colorbox({ html:data, open:true, iframe:true });
          },
          "html");
      });
       
    $j('.callback').colorbox({href:'[~nn~]',iframe:true, height:675, width:610});
    });
    </script>


    to make popup close in 2 seconds after a message had been sent.
      samurai smiley