+ Start a Discussion
rebvijkumrebvijkum 

copy the url to clipboard if i click on hyperlink

Hi,
    I have a hyperlink in visualforce page, if i click on hyperlink, the value should copy to clipboard

my vfp code;
<apex:outputLink  value="https://{!sfurll}/apex/CoreBenefit_PDF?id={!Returnid}" target="_blank" styleClass="newlink" >
Copy Url
</apex:outputLink>

If i click on "Copy Url", the "https://c.ap1.visual.force.com/apex/CoreBenefit_PDF?id=kA690000000H1An" should be saved in clipboard
amidstcloudamidstcloud
https://developer.salesforce.com/forums/ForumsMain?id=906F000000096UHIAY..... it may help