Blair McKenzie schrieb: > What about situations where you want to tie history to something other > than a link click? e.g. changing the value in a select, or hitting enter > in a search text box
Hi Blair, I understand that this may be desired. But the history relies on links to hashes (i.e. fragment identifiers) that are followed. I don't know of another way to do it. Creating a link with a hash on the fly may work, but you still don't have bookmark functionality (which is one goal I want to achieve). But I can think of a workaround. You could have a (dynamically created) link to an hash that also has a click event which triggers hitting enter in a search box. If an history event occures for that link the attached event is triggered anyway. By the way, I worked on the hijax concept I was talking about. Every link with a class "remote" will be hijacked: Before: <a class="remote" href="chapter-1.html"> After: <a class="remote" href="#remote-1"> with an click event attached that loads chapter-1.html via XHR into a defined element. IE support is on the way... -- Klaus _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
