Changeset 8513cb6 in prototipo_portal_2018
- Timestamp:
- Jun 22, 2015, 11:04:09 AM (9 years ago)
- Branches:
- master
- Children:
- 36a8003
- Parents:
- 9631190
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WebContent/index.html
r9631190 r8513cb6 393 393 //alert(html); 394 394 alert("ver respuesta") 395 document.getElementById("respuesta ").innerHTML = html;395 document.getElementById("respuestaVerificacion").innerHTML = html; 396 396 }, 397 397 error: function(response) { 398 398 //Que se ejecuta cuando finalice la petición de con error 399 $("#respuesta ").html('Error...!!!');399 $("#respuestaVerificacion").html('Error...!!!'); 400 400 } 401 401 }); … … 410 410 <script> 411 411 $(document).ready(function() { 412 $("#reset ").click(function() { // apply to reset button's click event413 $("#respuesta ").html('');412 $("#resetVerificacion").click(function() { // apply to reset button's click event 413 $("#respuestaVerificacion").html(''); 414 414 }); 415 415 }); 416 416 </script> 417 417 418 <!--Función que cactura el evento del button reset del formulario firmar 419 y limpia el div respuesta (tabla de la firma)--> 420 <script> 421 $(document).ready(function() { 422 $("#reset").click(function() { // apply to reset button's click event 423 $("#respuesta").html(''); 424 }); 425 }); 426 </script> 427 418 428 419 429 <!--Funcion para el manejo de un archivo json … … 500 510 <br> 501 511 <button type="submit" class="btn btn-primary">Enviar</button> 502 <button type="reset" class="btn btn-default">Limpiar</button> 512 <button type="reset" id="reset" class="btn btn-default">Limpiar</button> 513 <br> 514 <br> 515 <div id="respuesta"> </div> 516 503 517 </form> 504 518 <br> … … 517 531 <br> 518 532 <button type="submit" class="btn btn-primary">Enviar</button> 519 <button type="reset" id="reset" class="btn btn-default">Limpiar</button> 520 <br> 521 <br> 522 533 <button type="reset" id="resetVerificacion" class="btn btn-default">Limpiar</button> 534 <br> 535 <br> 536 <div id="respuestaVerificacion"> </div> 537 523 538 </form> 524 539 </div> … … 540 555 --> 541 556 542 <div id="respuesta"> </div>543 557 <p> 544 558 <div id="log" style="white-space: pre; font-family: monospace;"></div>
Note: See TracChangeset
for help on using the changeset viewer.