function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
satyamsatyam 

Escape character problem in custom look up search command link window

Hi ,

 

Need help to resolve my Appostrophy characters problm in customm lookup search page.After searching when i am trying to select something then javascript apostrophy error is coming in below line.I tried by using JSENCODE but still its not working.can anyone help to resolve my issue.

 

<apex:outputLink value="javascript&colon;top.window.opener.lookupPick2('{!FormTag}','{!TextBox}_lkid','{!TextBox}','{!a.Id}','{!JSENCODE(a.name)}', false)" rendered="{!actualCustType!='Partner'}">{!a.Name}</apex:outputLink>

 

this is the line where problem is coming.

 

Thanks in Advance:-)))))

Sridhar BonagiriSridhar Bonagiri

Hi,

 

Can you please let me know the error message that you are getting?

 

Regards,

Sridhar Bonagiri