Answer the question
In order to leave comments, you need to log in
How can I prevent a block inside a link from following the link?
In short, there is a block - just imagine a 220x100 block, for example, this block is wrapped in a - a link, inside this block in the upper right corner I placed another block - a bookmark button, how to make it so that when you click on bookmark (on this block) did not follow the link?
jsfiddle.net/8wrquam4/1
Answer the question
In order to leave comments, you need to log in
jsfiddle.net/8wrquam4/2
rtfm: api.jquery.com/event.preventdefault
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question