hi, i create a fieldset which contain a form, when i click the summit button, i would like to display a page which replace the current form, meaning the new display page will inside the fieldset now ...how to i do it ? can anyone guide me ?
test.html is simple information to display "hello"..anyone can guide me ? thank you !
You could look at using an <iframe> but I prefer Eric's suggestion to use a server-side solution, e.g. JSP. If you don't want (or need) to complicate your page to the extent of JSP you could look into the SSI (Server Side Includes) capabilities of your web server.
As was pointed out before, there is no way to have a response change only part of the page. The best solution (avoiding frames) is to re-create the entire page using JSP and deciding what the content of the fieldset should be using whatever criteria you need to trigger off of.
If you do not want to do that, your only viable alternative is to use an iframe for the fieldset content so that it is its own page that can be replaced without affecting the parent page. But that approach has a lot of tricky nuances that can trip you up if you are not careful. [ August 27, 2004: Message edited by: Bear Bibeault ]
thank you, Bear Bibeault, thank for clarification !! so sad ...as i can't change the contains inside fieldset
Joined: Aug 02, 2004
Did these suggestions solve your problem? You seem to suggest they didn't. You can achieve pretty much anything you want on a web page using JSP. If you still have a problem please post some more details and maybe we can point you in the right direction.