using layers in conjunction with posting forms.

N

Nick Tew

Is there any way to post a form in a layer and have the information
refresh in the same layer without refreshing the page?

To explain, if i use, say, three layers (DIV layers) on a page. One is
the sites menu on the left hand side (always needs to be there), one
is a layer which i want the user to be able to turn on and off
themselves and it has plain text in it (which i can get to do), and
one is a layer with a form in it with conforms with a server side
script.

If a user submits this form from the latter layer, new information
appears in the same layer.....as i want it too. However, to do this,
the page is reloaded, and therefore the layer which the user can turn
off will re-appear (if turned off). Is it possible for the layer to
reload without the page reloading and therefore not affecting the
other two layers?

Any help will be greatly appreciated. If you want to, i am willing to
ring anyone if its easier for you. Thanks
 
B

bagbourne

Nick said:
Is there any way to post a form in a layer and have the information
refresh in the same layer without refreshing the page?

To explain, if i use, say, three layers (DIV layers) on a page. One is
the sites menu on the left hand side (always needs to be there), one
is a layer which i want the user to be able to turn on and off
themselves and it has plain text in it (which i can get to do), and
one is a layer with a form in it with conforms with a server side
script.

If a user submits this form from the latter layer, new information
appears in the same layer.....as i want it too. However, to do this,
the page is reloaded, and therefore the layer which the user can turn
off will re-appear (if turned off). Is it possible for the layer to
reload without the page reloading and therefore not affecting the
other two layers?

Any help will be greatly appreciated. If you want to, i am willing to
ring anyone if its easier for you. Thanks

http://developer.apple.com/internet/javascript/iframe.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top