Hello allI am in the process of adding in a custom ajax call.  I am piggybacking on the code in ajax.php$dispatcher = patterns('',    url('^/config/', patterns('ajax.config.php',        url_get('^client$', 'client')    )),    url('^/draft/', patterns('ajax.draft.php',        url_post('^(?P<id>\d+)$', 'updateDraftClient'),        url_delete('^(?P<id>\d+)$', 'deleteDraftClient'),        url_post('^(?P<id>\d+)/attach$', 'uploadInlineImageClient'),        url_get('^(?P<namespace>+)$', 'getDraftClient'),        url_post('^(?P<namespace>+)$', 'createDraftClient')    )),    url('^/form/', patterns('ajax.forms.php',        url_get('^help-topic/(?P<id>\d+)$', 'getClientFormsForHelpTopic'),        url_post('^upload/(\d+)?$', 'upload'),        url_post('^upload/(\w+)?$', 'attach')    )),    url('^/i18n/(?P<lang>+)/', patterns('ajax.i18n.php',        url_get('(?P<tag>\w+)$', 'getLanguageFile')    )),    url('^/lookup/', patterns('ajax.tickets.php',        url_post('^(?P<id>\d+)$', 'lookupByIdd')    )));I have added the final piece where it says "lookup".  I am finding this works perfectly when I begin typing in the textfield and it goes a searches.The trouble I am having now is when I begin to use jquery ui autocomplete, it sends the data as such "?term=433" or whatever value I am searching.  For whatever reason, when that "?" is there, the arguments are not found and passed along.  I having some trouble tracing where this is begin stripped out so I was hoping someone might have some insight into this.I have tried other characters such as "@" and "!" and those don't get stripped off.  Seems to just be "?"

Moving to mod section of the forum.

Write a Reply...