Member Avatar
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 …
by Abbas Ansari in Web Development ()
Member Avatar
Hello. Is there any other way for not using the submit button? ... I want when a user opens the drop-down menu and chooses an option, the font of the <h1> tag changes and the user can see his/her name in that font to see if he/she wants to save …
by Niloofar24 15 in Web Development ()
Member Avatar
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: ... Here is my code I use to get it: ... I did a postdump …
by Simon_4 in Web Development ()
Member Avatar
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: ... And here some html code: …
by Simon_4 in UI / UX Design ()
Member Avatar
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 …
by 2rtistic in Information Security ()
Member Avatar
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 …
by momonq1990 in Web Development ()
Member Avatar
hey guys. im trying to show a dropdown list and hide input text when an option in another drop down list is selected. dropdown jquery but the script doesn't seem to be working. nothing happens when an option from is selected. the dropdown lists are hidden in css . is …
by nadiam in Web Development ()
Member Avatar
Member Avatar
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. My problem is that the "Cat: Mixed (Unknown)" and the "Dog: Mixed (Unknown)" both return the same option value. Is it possible to …
by davecoventry 8 in UI / UX Design ()
Member Avatar
Hi guys, Thanks in advance.
by harishjan29 in Web Development ()
Member Avatar
how can i add chat option in my website?
by Ambrish_1 in Web Development ()
Member Avatar
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.
by kavitha N in Web Development ()
Member Avatar
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.
by MuthuM123 in Web Development ()
Member Avatar
Onchange Select option how to display a another select option
by bals in Web Development ()
Member Avatar
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 …
by LastMitch 149 in Web Development ()
Member Avatar
I'm trying to use this code to populate my drop down menu from a mysql table: Does anybody know what could be wrong?
by ebutt13 in Web Development ()
Member Avatar
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. …
by Some Dude in Software Development ()
Member Avatar
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 { …
by hwoarang69 11 in Software Development ()
Member Avatar
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 This …
by bradly.spicer 47 in Web Development ()
Member Avatar
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 …
by hlamster in Web Development ()
Member Avatar
When a user selects a country and clicks submit php gets the value="" ie, country code instead of country name.
by manzoor.ilahi77 in Web Development ()
Member Avatar
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 …
by Lefian in Web Development ()
Member Avatar
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: &lt;select name="Protected"&gt; &lt;option value="NC"&gt;&lt;/option&gt; &lt;option value="ON"&gt;ON (protected)&lt;/option&gt; &lt;option value="OFF"&gt;OFF (unprotected)&lt;/option&gt; &lt;/select&gt; VB Code: For Each element As HtmlElement In …
by Aangiix3 in Software Development ()
Member Avatar
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: &lt;select&gt; &lt;option value="select-1"&gt;One&lt;/option&gt; &lt;option value="select-2"&gt;Two&lt;/option&gt; &lt;option value="select-3"&gt;Three&lt;/option&gt; &lt;/select&gt; So lets say that option one is selected, then …
by jonow in Web Development ()
Member Avatar
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 …
by mkab in Web Development ()
Member Avatar
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 …
by Octet 45 in Software Development ()
Member Avatar
Good day, I have a problem here: is it possible to put an input field into option such as this? &lt;select&gt; &lt;option&gt;&lt;input type="text" value="aa"&gt;&lt;/option&gt; &lt;/select&gt; (This is not working, any suggestiuon on how to refine it for it to work?) Any help will be appriciated.
by lps 71 in UI / UX Design ()
Member Avatar
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; } &lt;/script&gt; &lt;html&gt; &lt;body&gt; &lt;?php include ("db.php"); $now=date("Y-m-d",time()); ?&gt; &lt;? if($_REQUEST['action']=="del") { mysql_query("DELETE FROM temp WHERE t_no={$_REQUEST['id']};"); } ?&gt; &lt;table border="0"&gt; &lt;tr&gt; &lt;td&gt;No.Faktur&lt;/td&gt; &lt;td&gt;&lt;? echo "$no";?&gt;&lt;/td&gt; &lt;td&gt;&lt;/td&gt; &lt;td&gt;Tanggal Order&lt;/td&gt; &lt;td&gt;&lt;? echo "$now";?&gt;&lt;/td&gt; …
by Lius in Web Development ()
Member Avatar
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 …
by aru211285 in Web Development ()
Member Avatar
Hi,I want to retain the selected value of dropdown list during validation check. Need suggestion. &lt;select name="year_nam" id="year_nam"&gt; &lt;?php for($yr_nam=1950; $yr_nam&lt;=2020; $yr_nam++) echo "&lt;option value=\"$yr_nam\"&gt;$yr_nam&lt;/option&gt;"; ?&gt; &lt;/select&gt;
by jacob21 in Web Development ()