It is a content display panel and we only want to show user when they choose to click on the link to see. Howevere, we want the content to be reloaded and refreshed from server everytime when they click to see. Could you be more specific how we can achieve that ?
sorry, maybe i am just stupid. I don't know how i can reset the "src" attribute. This "src" URL (a jsp) is a fixed URL. I am not supposed to change it. I just want it to be reloaded as fresh when this iframe displays. I really don't know ho this can be "reset". Thanks.
In my "show hidden page" button's onClick() function I made the hidden iframe visible but its content turned not be reloaded everytime when I hit the "show hidden page" button.
After I saw Bear's post, I added into onClick() function. But it did not work. It did not show me the reloaded original jsp page when I clicked the button. Note: java]document.getElementById('myFrame').src='..../my.jsp'; the content src points to is same as what I put for src inside the <iframe> element. I just repeated it in onClick() hoping it reloads the page.
Bear, I am sorry to say that it did not work for me.
As I said, I have a click button, when it clicks it shows the hidden iFrame.
The iFrame embeds a jsp page which includes some elements. Every time after I click something on the jsp, it "memorize' it, i.e. when I click somewhere else on the main page and then click back the button, it pops up the iframe with the jsp I already clicked around instead of a fresh jsp. Did I use the syntax correctly ??