How do I get only two form fields to show instead of all 5 on initial page load? CSS

Posted by marcamillion on Stack Overflow See other posts from Stack Overflow or by marcamillion
Published on 2011-01-03T08:25:52Z Indexed on 2011/01/03 8:53 UTC
Read the original article Hit count: 201

Filed under:
|

Here is the implementation:

http://jsfiddle.net/AdQfB/2/

If you notice, when you click 'Login' or 'Register' before entering anything, you should see a few fields disappear and re-appear respectively.

I would like for this page to display the view of just the two fields on the first load (rather than the current 5 it shows on first load), then when the user clicks the 'register' link, it shows the other 3 - for a total of 5.

How do I do that?

Thanks

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about css