I have a page where a grid is defined. I give an option to remove a record by clicking an icon. The onClick looks like
As you can see, the name contains a single quote "O'STEEN". The function RemoveVendor fails when a record like this is chosen.
What should I use to avoid/fix this problem?
Thanks!
Jose
Code:
onClick='RemoveVendor("65","LARRY C O'STEEN, CPA")'
As you can see, the name contains a single quote "O'STEEN". The function RemoveVendor fails when a record like this is chosen.
What should I use to avoid/fix this problem?
Thanks!
Jose