I have been customizing my javascript-based Search Engine (for desktop application via CD-distribution), using DHTML and Prototype Javascript Framework. I have come a long-way since then, and I am succeeding, so far. However, here is my next dilemma.
When I click the "Submit" button, my search results displays all query parameters in the URL. Is it possible to get rid of the query parameters displayed in URL?
In search.js, functions getParam(paramName) and getParamArrayInt(paramName) return the value of a get parameter that are concatenated with urlLink which is then displayed in the browser's url-locator.
Here is what my search urlLink looks like in my div tag:
file:///C:/index.html?zoom_query=figure&zoom_per_page=10&zoom _cat%5B%5D=-1&zoom_and=1&zoom_sort=0#sy_nr_s8_5
Here is what I want it to look like in the same div tag:
file:///C:/index.html?#sy_nr_s8_5
I basically want to strip of the concatenated "query string" parameters. I know it can be done because my desired ulLink still loads well if I manually delete the parameters. I have modified search.js (particularly those two functions) to no avail. Can some shed some light into this?
p.s. my app is CD-based not web-based
When I click the "Submit" button, my search results displays all query parameters in the URL. Is it possible to get rid of the query parameters displayed in URL?
In search.js, functions getParam(paramName) and getParamArrayInt(paramName) return the value of a get parameter that are concatenated with urlLink which is then displayed in the browser's url-locator.
Here is what my search urlLink looks like in my div tag:
file:///C:/index.html?zoom_query=figure&zoom_per_page=10&zoom _cat%5B%5D=-1&zoom_and=1&zoom_sort=0#sy_nr_s8_5
Here is what I want it to look like in the same div tag:
file:///C:/index.html?#sy_nr_s8_5
I basically want to strip of the concatenated "query string" parameters. I know it can be done because my desired ulLink still loads well if I manually delete the parameters. I have modified search.js (particularly those two functions) to no avail. Can some shed some light into this?
p.s. my app is CD-based not web-based
Comment