+ Start a Discussion

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



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



Sridhar Bonagiri