Questions tagged as 'select'

1
answer

Insert image in select option

I have this function, what I try to do is add an image to an option but there is no way. To say that the value of the fields introduces me well in the option select but the photo does not appear. The page does not give any errors, I simply di...
asked by 06.11.2017 / 22:24
1
answer

Load select element with ajax

I would like to make a query and collect it both in a text box and in a select. I can capture the query in a text box, but not in the select. Index.php <script> function cargar_energia(){ //var n = document.getElementById("nombre")...
asked by 26.10.2017 / 16:40
1
answer

MYSQL SELECT possible value of two tables

I have 2 tables, one called 'families' with fields 'id', 'email', and another one called 'progenitor' with fields 'id', 'family_id', 'email' (simplifying the rest of the fields). I need to make a SELECT in which to return the email (if any) f...
asked by 13.10.2017 / 21:16
1
answer

Why is not the selected data kept when clicking search?

I have a search engine in which I have a select called personas . I would like to keep the data of select when I click on the "Search" button Why is not it kept and number 2 always comes out? I guess it's because of...
asked by 03.01.2018 / 20:46
1
answer

Capture the HTML of a SELECT, which uses the editableSelect Plugin

I have the following code: $("#idSelect").editableSelect({ effects: 'fade', duration: 'fast' }); To take the value, I realize: $("#idSelect").val(); // Funciona bien! Now I want to take the HTML of the select (all OPTION): $...
asked by 07.10.2017 / 23:36
2
answers

last 2 months Different

I have a registration list for each SKU; then for each SKU I would like to be able to obtain the prices of the last 2 months Different (Months registered) (and that I can recognize between annual changes like December 2016 and January 2017) th...
asked by 23.10.2017 / 19:33
1
answer

Obtain data from different tables in a mysql database

Hello, good evening everyone, I have a problem when making a query on mysql from php. Basically my system will make reports from a database, which is structured like this: Profiles Table +-------------+-------------+------+-----+---------...
asked by 01.09.2017 / 04:02
1
answer

How can I clean a Select and set its default value to an angularJs form?

<div class="input-field col s12" style="margin-top: 30px; margin-bottom:10px; "> <select ng-model="formData.estadoActi" name="form.estadoActi"> <option value="" disabled selected >Selecciona la opcion</option>...
asked by 03.09.2017 / 19:21
1
answer

How to open pages within an iframe conditioned by an option? [closed]

Good morning. I have a field type select and I want to do that based on the results selected in it, I open a page inside an iframe obviously conditioned by the select since it can open 4 different options.                    one         two  ...
asked by 07.09.2017 / 20:42
1
answer

Operation of form when changing it from input to select [closed]

In a contact data submission form, I previously had a input in which the user entered their country. Now I had to change the input for a select , for the user to choose the country from a list. Aesthetically everything wor...
asked by 28.08.2017 / 16:18