You need to sign in to do that
Don't have an account?
Brijesh Kumar
how can disable open in new window or open in new tab for right click the apex:outputlink link
Hi
i create a output link in visual force page.
<apex:outputLink value="https://www.salesforce.com" id="theLink">www.salesforce.com</apex:outputLink>
when we right click the this link we wants to disable (open in new window) or (open in new tab)
how can get this functionality in output link.please give me a reply because it's very urgent in my project requirement.
Thanks & Regards
Brijesh Kumar Baser
But this will prevent the whole context menu from appearing.
This works on IE not sure about Mozilla.
<a href ="#" oncontextmenu="return false">
You can try with
<apex:outputlink value= "https:/www.salesforce.com" id="thelink" target="_blank">www.salesforce.com</apex:outputlink>