HTML <select> & JS
| From: | Vladislav Kulchitski | Date: | Sun, 14 Apr 2002 01:38:54 +0000 |
| Subject: | HTML <select> & JS | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-92909@lists.php.net to get a copy of this message | ||
HI I was wondering if anyone can answer my question :) it's more HTML
related though, but I'll dare to post it here and apologize in advance
if I am going against the rules.
The issues is, if I am using the following code:
<select name="rows_per_page">
<option selected>25
<option>10
<option>50
<option>100
</select>
The problem I am having is that when I get rid of '</select>' it gives
the formatting like I needed, and with '</select>' it increases the CELL
where I am using this SELECT, like it is like having "<br>", i.e. it's
maximizing the height.
When I get rid of </select> the whole <SELECT> thing doesn't show in
NETSCAPE but does show and work fine in IE 5-6.0
Also can someone help with JS for this option... like as soon as you
selected something the page will go loading without having to click
SUBMIT.
Thanks a lot.
Vlad