How to incease the size of a select tag created by Javascript.
I have some javascript that dynamically updates a second select tag with model info, based on the make that is chosen. This works just fine in IE, but in NS4 and Opera when I click for more options, it's only one row long and the scrollbars to view the other selections is super tiny. Does anyone know what the code is to specify a size so that there at least 4-5 options showing when the select is clicked?
Thanks,
Mark
Webmaster
http://www.lancerforums.com
LancerForums posted this at 20:11 — 5th March 2002.
They have: 27 posts
Joined: Aug 2001
Not sure if there's a way with javascript, but I added a few blank option tags and that worked.
Mark
LancerForums posted this at 01:42 — 7th March 2002.
They have: 27 posts
Joined: Aug 2001
Ok, I have one problem. I detect errors using the php script and have a back button so the user doesn't lose his/her info. The problem is the dynamic list of models does not show up in this list and since the javascript is an onChange command it won't refresh the list unless I choose "select a make" and then the make from the make list.
Any ideas how to reload the select tags when a user clicks back?
Thanks,
Mark
Webmaster
http://www.lancerforums.com
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.