<?php
$salaries = array(1000,1500,2000,2500,3000,4000,5000,6000,7000,9000,12000,18000,30000);
$str = '';
foreach($salaries as $salary)
{
$str .= "<option value=\"$salary\">$salary+</option>";
}
function populateSalary()
{
$salaries = array(1000,1500,2000,2500,3000,4000,5000,6000,7000,9000,12000,18000,30000);
$str = '';
f...
Hi,
How can I fix the following problem with IE6/7(IE Tester) with drop-down list(with fixed width), as it is dropping UP instead of DOWN on roll out?
Any help appreciated. Thanks in advance.
...
I'm in need to toggle divs from a dropdown select option box. I'd like it similar to asmselect for jquery but instead of listing the option tag I'd like it to display a hidden div. Is there anything like this out there? Or anyone know how to set it up? Thanks, Jeff.
UPDATED
Basically what I want is the look and interaction of the asmse...
Need to disable already selected options in select box using jQuery. I'd like it to grey out like asmselect.
Test my example here.
//JS
$("#theSelect").change(function(){
var value = $("#theSelect option:selected").val();
var theDiv = $(".is" + value);
theDiv.slideDown().removeClass("hidden");
});
$("div a.remove").c...
Once upon a time, I had a DropDownList with Options built using this code:
<%= Html.DropDownList("SomeName", someSelectList)%>
which produced HTML like this:
<select id="SomeName" name="SomeName">
<option>ABC</option>
<option>DEF</option>
<option>GHI</option>
<option>JKL</option>
</select>
Form Submission would always return one of...