funcion para confirmar


/ Published in: Other
Save to your folder(s)



Copy this code and paste it in your HTML
  1. function eli(v){
  2. var confirmar=confirm('esta seguro que desea eliminar?');
  3. if(!confirmar){
  4. //window.location.href="";
  5. }else{
  6. window.location.href="index.php?idElim="+v;
  7. }
  8. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.