Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // evitamos la progacion del click
- $(document).on("click", ".rejilla", function() {
- $(this).stopPropagation();
- // le pasamos el evento
- onclick="cambiar_nombre(event,this);";
- //recibimos el evento y evitamos la propagacion
- function cambiar_nombre(event,valor) {
- event.stopPropagation();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement