Ver Mensaje Individual
  #8 (permalink)  
Antiguo 10/08/2012, 10:38
dconsolidado
 
Fecha de Ingreso: noviembre-2008
Mensajes: 38
Antigüedad: 15 años, 4 meses
Puntos: 2
Respuesta: Problemas con el ajaxSubmit

mira:

Código Javascript:
Ver original
  1. function fu_openVentanaCarga(){
  2.     var idfile = $('#idObjFile').get(0).innerHTML;
  3.     idfile = idfile.substr(5, 36);
  4.     $( "#dialog-form" ).dialog({
  5.         autoOpen      : true,
  6.         bgiframe      : true,
  7.         closeOnEscape : false,
  8.         resizable     : false,
  9.         modal         : true,
  10.         width         : 920,
  11.         height        : 670,
  12.         zIndex        : 1002,
  13.         dialogClass   : 'popup_dialog',
  14.         title         : 'Registro y Carga de datos del Medio Magnético a la Base de datos',
  15.         close: function() {
  16.             fu_doQuitarfile_car('deletefileloader.htm','undefined','POST', idfile);
  17.             fu_doItemMenu('vercargamagnetico.htm', 'myFrame', 'POST');
  18.             //$(this).dialog( 'close' );
  19.         },
  20.         beforeClose: function(event, ui) {
  21.             if (confirm("Al cerrar perderá los cambios no guardados, desea continuar..? !!")){
  22.                 return true;
  23.             }else{
  24.                 return false;
  25.             }
  26.         },
  27.         buttons: {
  28.                 Ok: function() {
  29.                     $( this ).dialog( "close" );
  30.                 }
  31.         }
  32.     });
  33.     //$("#dialog-form").dialog('open');
  34. }

lo acabo de agregar y nada... no me hace caso, no sera quizas porque uso un widget personalizado, http://jqueryui.com/download, lo personalice, pero naaaa, me parece que el bloqueo es mas por el ajaxSubmit ya que le quite en el firebug todas las clases, codigo y solo me quede con el input file asi calatito, pero naaaa

Código HTML:
Ver original
  1. <form id="frmDatos" method="POST" enctype="multipart/form-data" action="" onsubmit="return checkSubmit();">
  2.                         &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  3.                         <input type="button" id="cmdVerificar_car" class="btn primary large_arcver" value="Verificar archivo">
  4. <input type=file />
  5.                     </form>