In the below code:
var id=obj.setid({{info}});
I get an error saying illegal character and {{info}}
has the following string:
"Website® is registered "
How do I handle this error in javascript?
Thanks..
Edit:
setid looks like this
setid: function (id)
{
var obj = $(this) ;
validate_id(id);
},