I’m redirecting to an action with an :anchor like:
redirect_to :action => "index", :anchor => @photo.id.to_s
index.rhtml is a page has many photos thumbnails and each photo would
have the id as the “id” for link. I suppose this would
directly let the browser jump to that photo with the specific id.
Actually, it works fine in FireFox with the url in address bar
redirected to http://localhost/photo#157
However, in Internet Explorer (both version 6 and version 7), it
failed to work. The address bar in IE still displays
It seems the :anchor doesn’t append to the url for IE browser.
Any advise? And thanks very much in advance