How to pass string argument to javascript method
my code
function paginatePage(getPath) {
alert("from pagenate page");
alert("home path initial " + getPath);
}
unable to get the alert message
when i called the method
[NSString stringWithFormat:@"paginatePage(%s)",getPath]