This is probably more of a basic javascript question than a specific
jquery function.  I have this jQuery function named validateSubmit()
which calls two other regular javascript functions.  When using IE,
both createCharts() and getDirectorIDs get called but when using
FireFox, only createCharts() gets called and never makes it to
getDirectorIDs() and I'm not sure why this occurs.  Thanks

<script type="text/javascript">
// make sure at least one checkbox is checked
function validateSubmit() {
        if( $("input:checkbox:checked").length == 0 ) {
          alert( "Please select at least one section for your PDF
profile" );
          return false;
        } else {
            createCharts();

             getDirectorIDs();
         return true;
        }
   }
</script>

Reply via email to