how to disable image url link

By | July 12, 2015

how to disable image url link

With simple  CSS method for removing  image  link from your page.

you just put some easy script code with css code and your work finish.

disable image url link
$(‘.demo ‘).click(function() { return false; });

<div class=”demo”>

<a href=”#”> want to disable link </a>


.demo  class  where you want to disable the image link.and a is href link tag so first you put your class name (.demo) and after a tag.

any question ask on comments.


Leave a Reply

Your email address will not be published. Required fields are marked *