» Home » selected » Page 1
How to check if item is selected in a dropdownList and enable/disable a textbox if a listitem is selected/not selected
Category : Web Design

I have a page where i have created a form of sorts.
I have 2 dropdownlists(profilelist & salarylist).


I have 3 textboxes in this form. What i want to do:


I have 2 boxes where i create a new profile and a new salarygroup and the new profile is added to the profillist amd the salarygroup is added to the salarylist.


Now I want the third box to be disab


View Replies


Jquery and IE 7 - selected property not working for multiple select boxes, even when options are selected
Category : Web Design

I've a dropdown (multiple select). I choose a few values, they are highlighted correctly, but jQuery doesn't recognize them as selected. this works in firefox and chrome, doesn't work in IE. this is the code


$("#myBox" +" option").each(function()
{
if ($(this).attr("selected") == true)
{
// do something
}
}

View Replies


CSS navigation menu with rollover and selected effects. How do I apply the “selected”?
Category : Web Design

I don't know HTML or much coding. Below is a copy and paste, something I didn't create. Basically we have a single image containing three different menu sections (home, blog, contact) and the four different states that the menu could be in: normal, hover, clicked and active.


The selected/active, is only working on the home page. How do I make the active image stick to the other imag


View Replies


Java Swing - JCheckbox with 3 states (full selected, partially selected and deselected)
Category : Programming Languages

I want a JCheckbox that has 3 states as shown below:



Partially Selected
Unselected
Full Selected

Q1. Can I use the JCheckbox for the above purpose or have to go for some custom swing component?


View Replies


PHP and mysql: how can i make selected option stay selected in s Combo after submit
Category : Programming Languages

i was searching in stackoverflow and the only thing i got is something like this. I want to do with this code


<select class="input_select" name='nombre_compania'><?
msqlcon_catering(); //which is the function i made that connects to the database
$query = "SELECT * FROM compania ORDER BY id DESC";
$result = mysql_query($query);
while ($

View Replies


Django, setting selected=“selected” on a radio input
Category : Web Design

A simple form with ModelChoiceField displayed as radio buttons (the inherited widget).


I'm using an onchange event to POST, everytime a user selects a radio button:


shipping_choice = ShippingChoiceField(
queryset=ShippingMethods.objects.all(),
empty_label=None,
widget=forms.RadioSelect(attrs={
'class': 'order',
'onchange': '$("#shipping_cho

View Replies


Combo box's Selected index changed event not getting fired when any item is selected
Category : Web Design

I am having a form in which there are two combo box and a grid,
i have written filtering code on selectedindex changed event of combo box,SuggestAppend property is set for combo box.when i type a country name eg india and press enter the selected index changed event does not fire immediately,when i click somewhere out then its fires and gives output.
Please suggest me what to do.Tha


View Replies


asp.net mvc3/4 request.form to return the selected value and the selected text from selectlist
Category : Programming Languages

How would I get in my controller, the text part of Request.Form["StandID"]


<div class="editor-field">
<select id="StandID" name="StandID">
<option value=""/>
<option value="3">Mark</option>
<option value="5" Selected>Brian</option>
<option value="6">Ian</option>
<option value="7">Vin</opt

View Replies


assigning selected=“selected” to dynamic option list
Category : Programming Languages

In an "edit article" page i have a select list which displays author first and last name, as well as authorId as the value. As well as the article context and headline and so on (fetched with a different method) - though this method also holds the authorId of the specific article.


I need to have the Author of the Article selected in the option list, instead of it defaulting to the f


View Replies


jQuery Mobile Listview: Set selected index and show selected item
Category : Programming Languages

I'm writing my first jQuery Mobile web app and searching for a way to show the content of a listview item directly when only one item is in the listview (so that the user doesn't need to click at a single item)


How can I do this?


I have tried this using selectedindex:


$('#myList').selectedindex = 0;

And using a url redirect:


<

View Replies


Next
2012 / 2017 Copyrights BigHow , All Rights Reserved .