Possible Duplicate:
window.location = #anchor doesn't work in IE
I have a select box which when clicked changes the hash in the URL for my AJAX based page. I have a function that periodically checks window.location.hash for a change then updates the content accordingly. The following code is the function that changes the URL when the select is changed. It works in Firefox but I cannot get it to work in IE! I keep getting an Object doesn't support this property or method error:
#ob is my select
$("#ob").change(function() {
ob = $(this).val();
window.location.hash = "#ob=" + ob;
});
Any suggestions? Thanks!