Tagged Questions
1
vote
1answer
22 views
Angular ng-change for select not calling the declared method
I have the following html form select statement
<select ng-change="setBillGroup()" ng-model="bill.groupId" class="span8" ng-options="d.id as d.name for d in groups"></select>
and the js
...
2
votes
1answer
45 views
Multiple select tags into a PHP array
I have an input field repeated 3 times and would like to store the values entered for each of the fields in a PHP array. How would I achieve this? I called each OPTION item[] hoping that it will save ...
2
votes
1answer
46 views
Add value from dropdown to html attribute
I'm trying to add a dropdown value to a attribute in the table below. But it doesn't seem to work using the .attr() from jQuery
This is the jquery:
$("#datasize").change(function(){
var ...
4
votes
1answer
94 views
How to sort <option> generated dynamically in <select> [duplicate]
I have 4 fields that are generated based on the input of the previous one, like in a tree list. Example:
<select id="confederation">
<option value="">Confederation</option>
...
2
votes
1answer
69 views
Two dropdownmenus in one form
I have declared and loaded two dropdownmenus successfully in one form with a Submit input.
<form action="index.php" method="post">
<select name="sel1">
<?php //dynamically load options ...
0
votes
3answers
34 views
Selecting options from javascript
<select>
<script type="text/javascript">
$.get(
'/api/load/maron_online/470',
function(data){
var mydata = new Array();
var i = 0; ...
0
votes
1answer
40 views
JavaSCript Selecting
<select>
<script type="text/javascript">
$.get(
'http://www.ufilme.ro/api/load/maron_online/470',
function(data){
var mydata = new Array(); ...
4
votes
2answers
149 views
HTML Select change event fires on scroll bar click in Chrome when select tag has a size attribute
I have a simple select box with a size attribute and I want to call a function when its value changes.
So I add an onchange event to the select tag:
<select ...
0
votes
1answer
25 views
html5 - how to disable select widget wheel on iphone and use the normal select
Actually I develop a web app in html5/php/css/javascript for my mobile devices. (I'm a beginner) I have an "onclick" function on my "option" but with native select widget of devices it's not working.
...
1
vote
1answer
28 views
Dropdownlist binding to an object not returning selected object
I am binding an object to a dropdownlist using Knockout 2.2.1. The binding is working for putting the correct items in the list but when I try to get the OBJECT selected it is not working. I have a ...
1
vote
1answer
80 views
jQuery, Event when a select change
I have 2 chained select : when a value is choose in the first one, the second select show some values that correspond to the first select.
Example :
<select id='first_select'>
<option ...
-3
votes
0answers
42 views
input / select text color incorrectly changing to black [closed]
I'm trying to use a javascript function instead of the placeholder attribute. I would like the loading value to be a color of #999 and if the user clicks into the input text area the loading value is ...
0
votes
1answer
35 views
html select list : chained and filter
I have 2 select option list, they are chained with this method : Chained Select List
I have added an input in order to filter all values in these 2 select with this method: Input Filter Select List
...
-1
votes
0answers
81 views
Open new tab on 'Go' from dropdown
I have gone though several post regarding this issue but none of the solutions is working.
(drop down menu: open links in new tab + "Go" link
Drop down menu open in tabs rather than new ...
0
votes
2answers
63 views
How To Fix This “Select” Drop Down Using Css [duplicate]
This text "Third OMG! How can one option contain soooo many words? This really is a lot of words." make my Select box width more than 300px.
<form action="" method="get">
<select ...