Click here to Skip to main content
15,910,234 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am displying pdf in iframe. I want to disable click on any hyperlink in pdf. How to do it?

//code
HTML
<div id="divpdf"; class="col-lg-12">
  <iframe id="ifrmviewer" frameborder="0" scrolling="no" height="600" width="100%" readonly="true"></iframe>
                                           </div>


and giving path from jquery as:
JavaScript
$('#ifrmviewer').attr('src', path[0]);
Posted
Updated 19-Jan-16 23:48pm
v2

1 solution

try this.....


 
Share this answer
 
Comments
Member 9579525 21-Jan-16 0:00am    
I want to disable hyperlink in pdf if any e.g https://wwww.abc.com.
I don't want this link clickable.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900