# Javascript Form Question

**URL:** https://forum.kirupa.com/t/javascript-form-question/196787
**Category:** web dev
**Created:** [August 10, 2006, 11:45pm UTC](https://forum.kirupa.com/t/javascript-form-question/196787 "2006-08-10T23:45:31Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![sigepmest37](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@sigepmest37](https://forum.kirupa.com/u/sigepmest37)
#### Post date: [August 10, 2006, 11:45pm UTC](https://forum.kirupa.com/t/javascript-form-question/196787/1 "2006-08-10T23:45:31Z")

</div>

I am creating a form where clients much first choose a state then a county in that state.

What I would like to do is have two drop-down boxes. The first would have the 50 states. The client must first choose the state, once done it enables the second drop-down boxes which lists the counties in that state.

I’m familiar with how to do this in PHP but I want to be able to do it without refreshing the page, so I figure Javascript is the way to go.

Any suggestions?

Thanks in advance!
