i want a js value to be passed to another function
var placevalue='Ponsonby, Auckland, New Zealand';
when i use
location.href="<?php echo site_url(); ?>/place/address_result/"+placevalue+"/"+latlongvalue;
it throws this error.
The URI you submitted has disallowed characters.
i also tried with escape(), urlencode(),base64_encode().
it again throws urlencode is not defined in js error console.
Any how i want the value with ’,’(comma) to be sent to a function. Can any one guide me?
