I have an onClick call on a link:
//this is working good
The problem is the variable insid
You can escape the quote with a backslash..
fomateName('Andrew D\'souza');
This should work anyway:
var name = "Andrew D'souza"; fomateName(name);