I could fix it using: param = encodeURIComponent(param);
debussy007 wrote: > > Hi, > > When I want to send a param with line below: > > jQuery('#details').load('<?php echo $this->baseUrl > ?>/myController/myAction/myParam/' + param, {}, function() > {jQuery('#details').show();}); > > And if my param contains spaces, the param will contain the first word. > E.g. > param = 'hello world' > URL will be [...]/myController/myAction/myParam/hello > > Can anyone help ?? > Thank you. > -- View this message in context: http://www.nabble.com/load%28%29-My-param-is-splitted-tp20576771s27240p20577172.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.