its very simple suneetha.
i think u r very new commer in js including scripting lang.ryt
already u hav submit button on static page.so u'l create another js page in another location for wat do u want to add ur data.Nw we can giv this Second page url in 1st page submit button.
So nw wenever we'l click once it'l generated 2nd page automaticaly.
ok...
try to ur best level. if u not find contct me
ashok@heartmail.com