Top "Selected" questions

This is a general tag used when talking about one or more GUI element(s) that is/are selected by the user.

Setting "checked" for a checkbox with jQuery

I'd like to do something like this to tick a checkbox using jQuery: $(".myCheckBox").checked(true); or $(".myCheckBox").selected(true); …

javascript jquery checkbox selected checked
How to set a selected option of a dropdown list control using angular JS

I am using Angular JS and I need to set a selected option of a dropdown list control using angular …

angularjs drop-down-menu angular-ngmodel selected
How to set the 'selected option' of a select dropdown list with jquery

I have the following jquery function: $.post('GetSalesRepfromCustomer', { data: selectedObj.value }, function (result) { alert(result[0]); $('select[name^="salesrep"]').val(…

jquery html selected html-select
dropdownlist set selected value in MVC3 Razor

Here is my model: public class NewsCategoriesModel { public int NewsCategoriesID { get; set; } public string NewsCategoriesName { get; set; } } My controller: public …

asp.net-mvc-3 drop-down-menu razor selected
How to check if "Radiobutton" is checked?

I would like to make a structure with the condition (if-else) RadioButton I want that when the Radiobutton RB1 is …

java android radio-button selected checked
html select option SELECTED

I have in my php $sel = " <option> one </option> <option> two </option> &…

php html option selected
Programmatically select a row in JTable

When the application is started, none of the rows is selected. But I would like to show that the first …

java swing jtable row selected
UIButton: set image for selected-highlighted state

I set an images for button's states Normal,Highlighted and Selected, but when the button in selected state and I …

iphone cocoa-touch image uibutton selected
UITableViewCell Selected Background Color on Multiple Selection

// Doesn't work cell.selectionStyle = .Blue //Works when the selection is not multiple, if it's multiple with each selection the previous …

ios uitableview swift selection selected
How can I disable selected attribute from select2() dropdown Jquery?

I know how to enable the selected attribute from dropdown; I can use this code : $('select').select2(); but my problem …

attributes jquery-select2 selected