Example when typing "change" into a textbox address change to: http://www.onesite.com/#q=change
Is it possible?
Sure it's possible. Just append whatever text to the end of the url in the address bar. Every browser has it.
aka
How's that even practical? But I know what you're asking for. I'm curious myself.
Just change the hash part: https://developer.mozilla.org/en/DOM/window.location
Thansk for link, got it work now.
@, try to make some search function with php and JQuery.
Now i need to grab "change" value from #q=change in url somehow. Any tip how to grab it a variable and echo it?
Maybe this will help. From what I understand, you should grab de hash and do some "substringing"; something like:
var q_value = substr(window.location.hash, 3)