I’m tring to add a get parameter to the source callback like so :
source: "/getvalues?myparam="+$('#myId).val
But when I inspect using the ‘Network’ tab on Chrome what is actually to server its :
getvalues?myparam=&term=a
$(‘#myId).val does contain the character ‘a’ but I dont know how/why the ‘&term=’ is being generated? How can I send a ‘get’ parameter as part of the source callback ?
1 Answer