dropdown

CSS dropdown appearing too quickly in IE

I have created a CSS dropdown menu using suckerfish. The problem with it is when you click the top level nav item that takes you to category pages, the pointer is still over that nav item and the dropdown appears automatically in IE. Its fine for Firefox as the dropdown will not appear until I move the mouse, however IE just kicks in...

How do I clear all options in a dropdown box?

I'm stumped. My code works in IE but breaks in Safari, Firefox, and Opera. (big surprise) document.getElementById("DropList").options.length=0; After searching, I've learned that it's the "length=0" that it doesn't like. I've tried "...options=null" and "var clear=0; ...length=clear" with the same result. I am doing this to multiple ...

Drop-down menu disappears and comes back only in IE7 problem

Hi all, I have a problem with one of my drop-down menu. Usually they work fine, but this time what happens is the following (and this is only taking place in IE7...ugh): When I put the mouse over the li with class submenu, the ul with id of #nav2 fadesIn(); However, in between the two li's of the secondary nav (#nav2), I have the foll...

drop-down menu in python for Symbian

Hi, I want to implement a drop-down menu in python for Symbian. How do I create the drop-down and How can I access the selection value? thanks ...

Need help javascript/jquery gurus!!

This is quite urgent guys. I saw this jquery dropdown menu on the net and I love it a lot. It works perfectly in firefox and all browsers except as usual Internet Explorer. In IE, it's freaking slow and annoying. Is there any way I can solve this problem? Any help will be appriciated. To keep things neet, please visit: http://sandbox.l...

Keep a ToolStripDropDownButton dropped down for multiple selections

I have a ToolStripDropDownButton that has multiple children and I'm using them as checkboxes (CheckOnClick=True) so you can check multiple child items. My question is: how do I keep the parent item "dropped down" so it doesn't close up every time you click a child item? ...

using php to populate textarea with css file

Hi I'm sure this is possible in php. I have several css files located in a folder on my server. I wish to list these files in a drop down menu located on a php page. When the user selects one of these files in the dropdown, a textarea on the same page is populated with the source code of that css file. Struggling with this one, any he...

Detaching/appending select options with jquery

I'm trying to set up a form with multiple dropdown lists, that will allow visitors to rank the list items. Sample form: <form action="" name="rankem"> <select name="rank1" id="rank1"> <option value="option1">Option 1</option> <option value="option2">Option 2</option> <option value="option3">Option 3</option> <option v...

Codeigniter form_dropdown issues

I need a bit of help. I have this in my view $salutation = array( 'Mr.' => 'Mr.', 'Mrs.' => 'Mrs.', 'Dr.' => 'Dr.', ); echo form_open('membership/update'); echo form_dropdown('Salutation', $salutation, 'Mrs.'); The dropdown works in all but one fashion, it does not pre-select 'Mrs.'. How ...

Javascript - If drop down is selected, change image in a container.

Hey guys. I'm trying to change the image in a container with what I thought was simple javascript, but can't seem to figure it out. "cover-image" is the container where the image is, and "txtMontage" is the ID of the drop down list. If I run this as is, no mater what I select the image is set by the first if statement, and then the drop ...

CSS: Dropdown float on top

So i have this dropdown made in html/css/js.. it slides down on mouseover, but right now it slides down wrong, i mean it moves my text down which i dont want it to do.. i want it to like float over it so the text is behind the menu that comes down At left its how it is, and on right side its when mouse over. and as you can see the "exa...

How to call AJAX request on dropdown change event ?

index.php <script type="text/javascript" src="jquery-1.4.2.js"></script> <script type="text/javascript" src="ajax.js"></script> <a href='one.php' class='ajax'>One</a> <a href='two.php' class='ajax'>Two</a> <div id="workspace">workspace</div> one.php $arr = array ( "workspace" => "One" ); echo json_encode( $arr ); two.php $arr = ...

How to pass values of form input fields to a script using AJAX/jQuery ?

My current code is like this. index.php <script type="text/javascript" src="jquery-1.4.2.js"></script> <script type="text/javascript" src="ajax.js"></script> <select id="dropdown_id"> <option value="one.php">One</option> <option value="two.php">Two</option> </select> <div id="workspace">workspace</div> one.php $arr = array ( "wor...

SelectedIndexChanged not hiting on dynamic deropdown controls in c#

Hi, I am generating the multiple dropdown list on the fly. While creating it I am assigning the event havler, as well as keeping the objects AutoPostBack Property as true. also i vae written thr SelectedIndexChanged event at code behind. It generating fine, I can found the items in each dropdown but While I am selecting any value from an...

janus grid problem

Hi, I encountered a prolbem using janus grid. i created a dropdown and bound a datasource to it. the datasource is filled with data, but when i use the dropdown it doesnt show any values. strangely, i can choose one of the hidden values and the cell text is updated fine. its looks like the values are there but for some reason i cant see...

Update dropdown options, but keep selected

I have a dropdown list of companies. I also have some dropdown lists of contacts (primary_contact, sales_contact, insurance_contact) which all belong to class "contact". When the company changes, I update the list of available contacts using the following code: $('#company').change(function () { var company = $(this)[0].value....

Jquery - three select lists, deactivate the other two if one is value is selected

I have three drop down select lists, when a value from one of the list is selected, I want the other two to be greyed out and inactive. I have id wrappers around each select list that I'm experimenting on, but as I am new with jquery I'm not getting very far. ...

Horizontal Drop Down Menu

Hi I want to create a html structure like this: <ul class="menu"> <li class="top"><a></a></li> <li><a class="button1"></a></li> <li class="extend"> <a class="button 1"></a> <ul> <li class="last"><a class="button2"></a></li> </ul> </li> <li class="extend"> <a class="button1"...

Populate dropdown menu based on groupnumber and MySQL answer

Hello! I am building an webapplication for retailers to register purchased products in PHP/MySQL. What I like to do now is to populate a dropdown menu in a form with the products the specific retailer sells. The retailer is assigned a value for each product that they are selling, and then the values are summed up and putten into the data...

DropdownList: SelectIndex = 0 based upon a user clearing a text box/the text changing. Javascript.

Hello all. I have a scenario whereby I have a textbox with an autocomplete extender attached and two drop down lists; this enables a user to search for product info. Ideally I'd like to create something that effectivley, 'resets' the drop downs so that when a user clicks on the textbox (maybe I'll do it 'onenter'/'ondelete' if there is...