Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 281
  • Last Modified:

List populated

Hi,

I have a select City dropdown menu.  I don't want to get populated when the user come to this page.  
I want when the user select a state to have the city get populated.

Please, take a look at my site.

http://www.churchesbulletin.com/

Thanks,
0
lulu50
Asked:
lulu50
  • 2
  • 2
1 Solution
 
leakim971PluritechnicianCommented:
post you server code, it need to be updated.

or with javascript (bad idea) put the following in your page :

<script>
window.onload = function() {
        document.getElementsByName("GetCity")[0].options.length = 0;
}
</script>

Open in new window

0
 
lulu50Author Commented:
I don't know what you mean by this!

post you server code, it need to be updated.

0
 
leakim971PluritechnicianCommented:
the code of your page
0
 
lulu50Author Commented:
Thank you
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now