: How can I remove plus sign in jquery string How can I remove + sign from string in Jquery $('#sender_name'). val(). If I entered any space then it include a + sign So in my controller I
How can I remove + sign from string in Jquery $('#sender_name'). val(). If I entered any space then it include a + sign
So in my controller I cant get accurate value due to + sign (I am using Ajax call that goes every time when I enter a single word).
For example if I entered in text field 'Hello World' then it will return 'hello+world' i want to remove + sign.
$(function()
{
$( "#sender_name" ).autocomplete({
'search':function(event,ui){`
var newUrl="<?=base_url()?>login/city/"+$("#sender_name").val();
$(this).autocomplete("option","source",newUrl)
},
source':[]
});
});
More posts by @Lee4591628
1 Comments
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.