encode-url-parameter-and-use-ajax