36 Topics

Member Avatar for
Member Avatar for NA

( https://i.stack.imgur.com/1LPVk.png ) i mention my link where output show when i press drop-down button then show empty fields but i have values in my sql table link ( https://i.stack.imgur.com/YEopy.png) but it does not execute my values in drop down list..i need help...when i show error it does not dispaly …

Member Avatar for AndrisP
0
1K
Member Avatar for Abbas Ansari

I'm trying hard with displaying details from a selected option in a drop down list for my project. I have a drop down list which is populated from a MYSQLi query. I want the user to select an option and the values associated pulled from the database and displayed to …

Member Avatar for cereal
0
19K
Member Avatar for Niloofar24

Hello. Is there any other way for not using the submit button? <?php $user_choice = $_POST['font_styles']; if ($user_choice == "font_style_1"){ $font = 'firstfont'; }elseif ($user_choice == "font_style_2"){ $font = 'secondfont'; }elseif ($user_choice == "font_style_3"){ $font = 'thiredfont'; }elseif ($user_choice == "font_style_4"){ $font = 'forthfont'; } ?> <html> <head> <style> h1 …

Member Avatar for Niloofar24
0
426
Member Avatar for Simon_4

I am maybe blind or so... just got nearly the same problem as before. I not get the values of the selectfields. I got 0 - 8 instead of some strings. Here is the url: http://web159.login-142.hoststar.ch/memberd/de/prices/ Here is my code I use to get it: # read size of one …

Member Avatar for bnmng
0
275
Member Avatar for Simon_4

Hi I just have the follow problem. In my form, I have a select option. Usually I should see some text there, I can change and open the dropdown menu, but I not see any text. What it could be? Here is the url: http://web159.login-142.hoststar.ch/memberd/de/prices/ And here some html code: …

Member Avatar for pritaeas
0
324
Member Avatar for 2rtistic

I've been having a ton of problems since my boyfriend clicked on an email he thought was authentic from an ebay fraud. Web pages have been slow to not responsive, I kept getting errors about remote server refusing connections, the lan service kept showing proxy server settings and when I …

Member Avatar for RobertHDD
0
758
Member Avatar for momonq1990

i need to create 2 selection; 1st selection has fix option and the second selection will be base on the selected selection 1 selection 1 option 1 = number option 2 = letter option 3 = char number option 1 = 1 option 2 = 2 option 3 = 3 …

Member Avatar for Taywin
0
182
Member Avatar for nadiam

hey guys. im trying to show a dropdown list and hide input text when an option in another drop down list is selected. dropdown <select name="table-type" id="select-t"> <option value="" disabled selected>Types of Tables</option> <option value="Round Table" id="rt">Round Table</option> <option value="Banquet Table" id="bt">Banquet Table</option> <option value="Square Table" id="st">Square Table</option> </select><br> No. …

Member Avatar for nadiam
0
258
Member Avatar for NitsPatel

Hello, when i click on option of dropdown box they could not select any option. Its working good in all other browsers.option coming through ajax. I have a problem in dropdown select option in IE11. see attached screenshot .Please help me someone to solve my problem. Thanks & Regards Nits

0
128
Member Avatar for davecoventry

Is it possible to see what the index is of a Select combobox selection? I have website with a select box which has a few hundred options. <select name="breed" id="breed"> <option value="">Please select</option> <option value="Abyssinian" >Cat: Abyssinian</option> <option value="American Bobtail" >Cat: American Bobtail</option> <option value="Mixed (Unknown)" >Cat: Mixed (Unknown)</option> .... …

Member Avatar for Alberto Bucur
0
190
Member Avatar for harishjan29

Hi guys, Now i doing one website. In that i have add polling option to it. if visitiors participate that poll after answer that question they know how many % of peoples can answer that question in graphically view. E.g Who scored First 200 runs in ODI? A) Dhoni B) …

Member Avatar for diafol
0
181
Member Avatar for Ambrish_1
Member Avatar for kavitha N

Hi, I am looking for when you select a value from dropdown and submit. The results has to show in the same page with percentage. It is like voting. Thanks in advance.

Member Avatar for JorgeM
0
396
Member Avatar for MuthuM123

Hello Everyone, I have a problem and looking forward for your kind help. I need the <select> tags option value to be set selected on the page load. The problem is that everytime the value which is to be selected may change on each page load. Thank you.

Member Avatar for IIM
0
247
Member Avatar for bals
Member Avatar for LastMitch

Hi I am learning **PDO**. I already got my **PDO-DB** ready. The query works because it does fetch data when I echo out the data but I don't know how to echo out the data from the database to the dropdown list. I try to echo out this way (it …

Member Avatar for LastMitch
0
879
Member Avatar for ebc3142

I'm trying to use this code to populate my drop down menu from a mysql table: <select name="fileselect"> <?php $pdo = new PDO('mysql:host=localhost;dbname=contisec_portal', 'root', ''); $stmt = $pdo->prepare("SELECT dateid FROM date_header"); $stmt = $pdo->execute(); while ($row = $stmt->fetch(PDO::FETCH_ASSOC)) { echo "<option value='" . $row['dateid'] . "'>" . $row['dateid'] . "</option>"; …

Member Avatar for diafol
0
6K
Member Avatar for Some Dude

Alright, so I need some more help. This time, the problem is not inherently in the code (Though I've had trouble with that thus far too). I am currently playing around with open and close file dialogs trying to get what seems to be an out-dated "GetOpenFileName()" function to work. …

Member Avatar for Some Dude
0
611
Member Avatar for hwoarang69

note i am working on eclipse, java, xml and anroid. i have a activity_right_sub_menu.xml file <?xml version="1.0" encoding="utf-8"?> <menu xmlns:android="http://schemas.android.com/apk/res/android" > <item android:id="@+id/I_ABOUT" android:title="About Us" android:numericShortcut="1" android:alphabticShortcut="a" android:orderInCategory="100" android:showAsAction="never"/> <item android:id="@+id/I_PREFERENCE" android:title="Preferences" android:numericShortcut="2" android:alphabticShortcut="b" android:orderInCategory="100" android:showAsAction="never" /> </menu> than i have a Menu.java file public class Menu extends ListActivity { …

Member Avatar for jalpesh_007
0
3K
Member Avatar for bradly.spicer

Hey everyone, Been working on a php snippet which finds the names of all the files in a Directory and populates them into a drop down box. Which would then allow me to select that file, click a submit button and delete them. Here is what I have SO <?php …

Member Avatar for bradly.spicer
0
212
Member Avatar for hlamster

I have a form with a dropdown list that when they click on it or when they mouseover it (either would be ok) it should show a popup tooltip. My javascript skills are at best very very basic. This is a wordpress site and I am reluctant to add jquery …

Member Avatar for brandonrunyon
0
177
Member Avatar for manzoor.ilahi77

<select name="country" id="country"> <option value="IN">India</option> <option value="PK">Pakistan</option> <option value="UK">United Kingdom</option> <option value="US">United State</option> </select> When a user selects a country and clicks submit php gets the **value=""** ie, country code instead of country name.

Member Avatar for Biiim
0
222
Member Avatar for Lefian

Hello all! I currently have a drop down which consists of a list of names generated from the database. My problem is that when selecting a name from the dropdown I would like to insert the name and the corresponding ID into the database table. I am not sure if …

Member Avatar for Biiim
0
6K
Member Avatar for SeniorAlexandro

Alright, I have a Webbrowser which has a page opened. I want it to select a specific Option from the Combobox. How can I do that in VB ? HTML Code: [CODE]<select name="Protected"> <option value="NC"></option> <option value="ON">ON (protected)</option> <option value="OFF">OFF (unprotected)</option> </select>[/CODE] VB Code: [CODE]For Each element As HtmlElement In …

Member Avatar for AndreRet
0
269
Member Avatar for jonow

I have a simple JavaScript question. I want a drop down selection so that when you select a certain option is shows the value of the option in a div. So for example: [CODE]<select> <option value="select-1">One</option> <option value="select-2">Two</option> <option value="select-3">Three</option> </select>[/CODE] So lets say that option one is selected, then …

Member Avatar for stultuske
0
220
Member Avatar for mkab

I have a problem making a select tag in php code dynamic. I'm creating a website (homework) using php and connecting to an oracle database which has all the info needed. Each agency has a list of vehicules. I created a select option tag for agencies and for vehicules. I …

0
171
Member Avatar for Octet

Hello DaniWeb Users, I am new to the forum however from what I have seen it is exceptionally good! I have searched the forums already and found various questions relating to a similar problem as mine however I am unable to work out how I can amend this for my …

Member Avatar for Octet
0
213
Member Avatar for lps

Good day, I have a problem here: is it possible to put an input field into option such as this?[CODE]<select> <option><input type="text" value="aa"></option> </select>[/CODE] (This is not working, any suggestiuon on how to refine it for it to work?) Any help will be appriciated.

Member Avatar for Agarsia
0
251
Member Avatar for Lius

[CODE]function populateHarga() { var x=document.getElementById("barang").value; document.getElementById("harga").value=x; var y=document.getElementById('barang')[document.getElementById('barang').selectedIndex].innerHTML; document.getElementById("nama_brg").value=y; } function populateTotal() { var y=document.getElementById("jumlah").value; var x=document.getElementById("harga").value; document.getElementById("totalnya").value=x*y; } </script> <html> <body> <?php include ("db.php"); $now=date("Y-m-d",time()); ?> <? if($_REQUEST['action']=="del") { mysql_query("DELETE FROM temp WHERE t_no={$_REQUEST['id']};"); } ?> <table border="0"> <tr> <td>No.Faktur</td> <td><? echo "$no";?></td> <td></td> <td>Tanggal Order</td> <td><? echo "$now";?></td> …

0
136
Member Avatar for aru211285

Hi friends, I have a question regarding the option list in HTML pages.... i have 2 items (class, subclass) each of which have some options and hence i created the drop down lists for the 2 items which when selected by user will go the action page and search for …

Member Avatar for aru211285
0
182

The End.