Hey Everyone!
I'm working on a javascript project the requires a form, Onclick, variables, and etc. The html document generates a form. When this form is clicked(onClick) it will call to the function in javascript. The function will generate a prompt the allows the user to select a desired bgcolor. This is stored in a variable and changes to document.bgColor. However, when onClick again it will swap back to the original color as designed. This requires another variable. I've tried to do this, but I cant seem to get the program to REFRESH back to normal so it can be used again and again. I'm learning how to program in this language so any help would be greatly appreciated!
Thanks a bunch,
Tim
2006-10-06
08:25:54
·
2 answers
·
asked by
Anonymous
in
Programming & Design