views:

30

answers:

2

I am using ajax to load into an element on my page, but I want this action to be reversed with the back button ... I'd rather the URL change to a real URL like mysite.com/page1 rather than mysite.com/page#page1

I read somewhere about using a hidden iframe to achieve this ? Can anyone help me out?

A: 

http://www.asp.net/ajax/videos/how-do-i-use-the-aspnet-ajax-history-control

brumScouse
I asked here because after searching for myself (yeah, I do that), the links I found weren't precisely what I asked. I didn't want someone else to do a search for me. I'm not using ASP.NET.
Greg
I wasn't trying to insult your intelligence, but without knowing what you have tackled looked at etc, I can only proffer what I believe might be helpful. The ASP.NET part was an assumption on my part (I didnt read the tags properly!!)
brumScouse
+1  A: 

I use a technique similar to Really Simple History.

I have a hidden Iframe to which I route all JS calls that manipulate the DOM, which in-turn routes them back to the parent page.

Diodeus