-
<select multiple> focus/scroll in NS 4.7
Whoever gets this one will be on my xmas list....
Here's the deal using the code below: Whenever the user presses a button
(not shown) the selected list item will swap text values with the item below
it and stay selected. In IE everything works fine, but in NS if you pick
item 7, press the button, the values swap, but the scroll bar goes all the
way back up to the top, leaving item 7 selected but not in the viewable area
anymore (annoying).
Please help!!!
<select name=somelist multiple size=5>
<option> list 1
.....more options...
<option> list 8
</select>
<script>
function move(form)
{
form.somelist.options[1]=form.somelist.options[2].text;
}
</script>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks