Hi there everyone !
I have a classical form wich some questions like:
City:
Address:
Zip:
I also have a link which makes a hidden layer called "formpreview" visible and i would like the user to be able to see what he/she have already filled in the form when clicking this link. It is not the submit button, just a link that will make a hidden layer appear saying:
City: Whatever was written
Adress: ''
Zip: ''
I'm a Javascript ignorant so I was doing some pranky experiments in order to see if I get any results, but nothing:
-------------------------------------
function showmenow(object,val) {
document.getElementById(object).style.visibility = val;
var street2 = document.getElementById('street');
var zip2 = document.getElementById('zip');
document.write(street2);
document.write(zip2);
}
-------------------------------------
Any hints??? I'm completely desperate with this...
I have a classical form wich some questions like:
City:
Address:
Zip:
I also have a link which makes a hidden layer called "formpreview" visible and i would like the user to be able to see what he/she have already filled in the form when clicking this link. It is not the submit button, just a link that will make a hidden layer appear saying:
City: Whatever was written
Adress: ''
Zip: ''
I'm a Javascript ignorant so I was doing some pranky experiments in order to see if I get any results, but nothing:
-------------------------------------
function showmenow(object,val) {
document.getElementById(object).style.visibility = val;
var street2 = document.getElementById('street');
var zip2 = document.getElementById('zip');
document.write(street2);
document.write(zip2);
}
-------------------------------------
Any hints??? I'm completely desperate with this...