Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function modificarEdad(edad,id){
- num = edad.textContent;
- edad.textContent = "";
- edad.innerHTML = '<form method="post" action="">';
- edad.innerHTML += '<input type="text" name="edad" size="4" value="'+num+'" /> <input type="hidden" name="id" value="'+id+'"';
- edad.innerHTML += '<input type="submit" name="modificar" value="modificar" /></form>';
- edad.onclick= null;
- }
Add Comment
Please, Sign In to add comment