when is load a page I have a form with some elements that are
text, textfield, select, select multiple, checks, radios.
where text and textfield are filled with some words,
select have how first elements a specific option,
checkboxses (some are checked) ..
how I can memorize all this initilly settings and recall
with a button if is necessary reinsert all?
I found this but on some select not work (I will make an example)
javascript:docu ment.getElement ById("id-form").reset();
in select elements where not work I make a test and also if they are inner
form, only if I write directly code can change the selectedIndex;
I will send a code for test
text, textfield, select, select multiple, checks, radios.
where text and textfield are filled with some words,
select have how first elements a specific option,
checkboxses (some are checked) ..
how I can memorize all this initilly settings and recall
with a button if is necessary reinsert all?
I found this but on some select not work (I will make an example)
javascript:docu ment.getElement ById("id-form").reset();
in select elements where not work I make a test and also if they are inner
form, only if I write directly code can change the selectedIndex;
I will send a code for test
Comment