Create New Item
×
Item Type
File
Folder
Item Name
×
Search file in folder and subfolders...
File Manager
/
equote
/
Cotizacion
/
partials
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<div id="divdialogCotizacion" title="Confirmacion de Cotizacion" style="display:none"> <input type="hidden" id="txtIdCotizacion" name="IdCotizacion"> <TABLE align="CENTER" width="300px"> <tr> <th> <div align="LEFT"> La Cotización será informada a su ejecutivo. Desea continuar ? </div> </th> </tr> </TABLE> </div> <script language="Javascript"> $(function(){ dialogCotizacion = $( "#divdialogCotizacion" ).dialog({ autoOpen: false, height: 200, width: 600, modal: true, buttons: { "Continue": ActualizaCotizacion , Cancel: function() { dialogCotizacion.dialog( "close" ); } } }); }); function ActualizarEstadoCotizacion(IdCotizacion) { $("#txtIdCotizacion").val(IdCotizacion); dialogCotizacion.dialog("open"); } function ActualizaCotizacion() { var data = "IdCotizacion=" + $("#txtIdCotizacion").val(); $.ajax({ async: true, type: "POST", url: "transacciones/actualiza_estado_cotizacion.php", data: data, dataType: "xml", success: function(xml) { dialogCotizacion.dialog( "close" ); window.location.href = '../Buscadores/buscadorCotizacion.php?IdMenuIni=3'; return true; }, error: function (request, status, error) { alerta(status + ": " + error); return false; } }); } </script>