Quote:
quote:
If I want 1 of the forms to be visible on page load, how do I do that? I know how to have that radio button select, but not the form visible.
|
I think its as easy as placing a style='display: block' inside the div tag of the one you want to be visible by default. The style attribute will override the display property defined in the class, but both should be the same in terms of referencing the property via
JS. Give that a try. Otherwise you can add
JS code outside the scope of the function, in global scope, that sets the display property via getElementById of the default element to 'block'.
Quote:
quote:
I don't know why I used the "visibility" style instead of the "display" one. I got the two confused. I've written a similar application and, now that I dig through it's source, see that I used "display".
|
Well I wouldn't have known but I just designed an application that does something similar and ran into the same problem. Glad to be of help : )
: )
Rich
:::::::::::::::::::::::::::::::::
Smiling Souls
http://www.smilingsouls.net
:::::::::::::::::::::::::::::::::