Page is a not externally linkable
- Code, Content, and Presentation
-- JavaScript and AJAX
---- Variable scope and functions


le_gber - 7:39 am on May 9, 2009 (gmt 0)


astupidname, my mistake

for(f in ffields){
should have been
for(i in ffields){

You were also correct in smallFormVal[i] = formDefaultVal[i]

I'll give your first example a try although I don't get everything :)


Thread source:: http://www.webmasterworld.com/javascript/3909506.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com