263 Topics

Member Avatar for
Member Avatar for Shikha_1

<script type="text/javascript"> function check() { var select1 = document.getElementById("from"); var selected1=[]; for(var i=0;i< select1.length; i++) { if (select1.options[i].selected) selected1.push(select1.options[i].value); } for (var j=0;j<select1.length;j++) { document.write(selected2[j]); } } </script> <!--[if IE]> <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> </head> <body> <table width="70%" height="30%" align="center"border="1" style="border-collapse:collapse;"> <tr height="300"> <td height="256"><p><center>YOUR SCHOOL IS FROM </center> </p> <center> …

Member Avatar for Shikha_1
0
245
Member Avatar for GlenRogers

I have a page to add products. On this page is a 'categorey' dropdown and a 'subcategory' dropdown. The subcategory dropdown should fill with the options based on the category dropdown selection. The code I have so far does not fill the subcat dropdown, can anyone see a problem? code …

Member Avatar for Banderson
0
3K
Member Avatar for MrXortex

Hello. I have a little complex code for a navigation menu. I want to add a dropdown to a <li> tag but it doesn't work. Heres the code <div id="topbar" class="fadeInOnLoad"> <div class="inner-topbar"> <ul> <?php if(currentPageName() == 'index.php'){ echo '<li class="">Home</li>'; }else { echo '<li><a href="index.php">Home</a></li>'; } if(currentPageName() == '../about.php'){ …

Member Avatar for Zagga
0
339
Member Avatar for anil14353

I'm Anil kumar i want to build a dynamic mega drop down menu using PHP. how to create table structure? how to write the code for doing this? please help me.

Member Avatar for anil14353
0
2K
Member Avatar for kanoy83

I have problem with this drop down menu. This code is part of form.php and is used by 2 pages, 1 page is working fine in which it will not show the "-assigned-", where the other page is showing it. I don't know why they both display differently. assuming library …

Member Avatar for pritaeas
0
334
Member Avatar for rook0316

I have tried many different scripts I have found but cannot find one that does exactly what I am looking for. I have a table that has parts with multiple characteristics. Part Number, Height, Width, Capacity, Price, Etc. I would like to have a drop downs for all of these …

Member Avatar for pankaj12290
0
8K
Member Avatar for khair.ullah

Hi every one ! i am try to Bind Dropdownlist from Gridview .... what i am trying to do i fill my GridView from dataBase .. when i select a Row From Grid it Fill TextBoxes But show error in *"'cmbNature' has a SelectedValue which is invalid because it does …

Member Avatar for |-|x
0
117
Member Avatar for de Source

Hi, i am making an asp application and in code behind file i am trying to bound drop down list from tbl_teacher in which i concatenate the first and last name by this query `string sqlStatement = "SELECT teacher_id, fname + lname AS Name FROM tbl_teacher";' and it is working …

Member Avatar for de Source
0
267
Member Avatar for jonsan32

I'd like to figure out how to (if there is a way) to have 3 dependent dropdown boxes with a submit button that could filter my blog by label. It's for athletes who want to be recruited. I'd like for coaches to be able to select a sport, then select …

Member Avatar for LastMitch
0
356
Member Avatar for ryan311

Can anyone help me. My code is not working this is cascading drop down list. It's connected to my database. Jquery Code: <script type="text/javascript"> $(document).ready(function () { $("#SiteId").change(function () { var idDept = $(this).val(); $.getJSON("Service/GetBuildingNameList", { id: idDept }, function (myData) { var select = $("#BuildingID"); select.empty(); $.each(myData, function (index, …

Member Avatar for LastMitch
0
437
Member Avatar for Wailintun

Hi! everyone, Can someone tell me about this in drop down menu? http://www.siteexperts.com/dhtml/ch9/chapter/samples/map1/switch.htm Thanks for your time.

Member Avatar for diafol
0
62
Member Avatar for SomSamui

I have the follow code. And what I like to have, is, the value from the select1 in the 2. Form, input "girl" value. But I do not know, how to do... I always have an empty value in the 2. form. <?php mysql_connect("localhost:8888", "root", "root") or die("Connection Failed"); mysql_select_db("usr_web202_9")or …

Member Avatar for SomSamui
0
232
Member Avatar for naphets

I am trying to use the code below as my Header. A multi-level drop-down navigation menu. Written in only CSS/HTML. Of course, the fact that if i removed the extra levels of menus, the code would work fine... Is just not good enough. I want to push it. I want …

Member Avatar for naphets
0
338
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
881
Member Avatar for anisha.silva

hi i want to add two dropdown boxes one for the make of the vehicle and one for the model of the vehicle. first the user need to select a make of the vehicle and then when he selects it only the models relevent to the make should display in …

Member Avatar for anisha.silva
0
191
Member Avatar for anisha.silva

hi i have an drop down list in the web paage and it has Item A, Item B, Item C as items in the drop downlist. when i run the page how can i make it to display the Item B which is the 2nd item to be displayed in …

Member Avatar for anisha.silva
0
220
Member Avatar for tomparker

This may be a little 'outside the box' as far as mega menu's go, but I'm trying to do a 'flyout' or submenu off of a mega. Take a look at http://morningstartv.com, and hover over 'Channels'. When 'Sunday Services' is hovered over, I want a menu to appear to the …

Member Avatar for tomparker
0
279
Member Avatar for RT00220489

Hey !! I have created a web application in ASP.net. In the master page, I am using tables to create the required page display. On the left side, i have an image on an arrow followed by text eg. (img.png)Order. When i click on Order, i need the different types …

Member Avatar for arun1123
0
264
Member Avatar for didzmad

Hello php community, Could you help me in my research? I just cannot find what I am looking for. I am working on a website with PHP and MySQL. I am trying to get a filter option on my website to fetch the information from database. Here are the filter …

Member Avatar for diafol
0
6K
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 katties

Hi I have this question about a loop that would create many numeric-value drop downs on a page. So far I have managed to populate with javascript only one per page. I am trying to make a loop that would take various id-s of the 'select' tags in html, and …

Member Avatar for katties
0
225
Member Avatar for sethwcaton

I'm using the exact code snippet (Step 1 of the Simple Version) from this page hosted by the developers of BreezingForms for Joomla!, modified only to have the correct table and field names, and the name of the select list in the form: http://crosstec.de/media/kunena/attachments/59203/BreezingFormsscriptdev.txt All I want to do in …

Member Avatar for pritaeas
0
580
Member Avatar for qwertpink

Hi all, Im trying to add sizes to the cart. However, i cant pass size over. please help. $result = $db->query($sql); $output[] = '<ul>'; while ($row = $result->fetch()) { $output[] = '<br><font color="837F77"size="6">'.$row['name'].' </font><br></br> S$'.$row['price'].'<br></br>'; $output[] = '<select name="size"> <option disabled="disabled" selected value="NA" >Size</option>'; if ($row[small_qty]== 0){ $output[] = ' …

Member Avatar for qwertpink
0
373
Member Avatar for Ayinainsoph

So i figured out how to embed drop down menu option on the table feature in dreamweaver, HOWEVER, when i go to remote view to see if all fields are working the dropdown box which I labeled package is now showing up in the email. How can I get this …

Member Avatar for Ayinainsoph
0
577
Member Avatar for Ayinainsoph

How can I input coding for this table contact form that I created in dreamweaver to have dropdown option values? Here is my code: <form action="" method="post"> <table width="600" border="1" cellspacing="2" cellpadding="0"> <tr> <th width="170" scope="col"><label for="name">Name:</label></th> <th width="428" scope="col"><div align="left"> <input type="text" name="name" id="name" required="required"/> </div></th> </tr> <tr> <th …

Member Avatar for Ayinainsoph
0
190
Member Avatar for Ayinainsoph

How can I create a table contact form in Dreamweaver using dropdown options? I have searched everywhere and I have found hmtl coding that does not work for the insert table contact form. Here is my code: <form action="" method="post"> <table width="600" border="1" cellspacing="2" cellpadding="0"> <tr> <th width="170" scope="col"><label for="name">Name:</label></th> …

Member Avatar for Ayinainsoph
0
208
Member Avatar for abcd777

I am facing problem with search module for real estate property search . m placing my code .. i am new 4 php... please help me with the correction of code... // index.html <form action="refinesearch.php" method="post"> <td> <td><tr> <label> <span class="h"><b>Category:</b></span>&nbsp;</label> </tr><select id="first" name="first" size="1" style='width:127px;'><option value="">--</option></select> </td> <tr><td> <select …

Member Avatar for urtrivedi
0
182
Member Avatar for ankitsrist

i am trying to make application in which i used two dropdown list which gets its value from database and one shows states and another shows its corresponded cities ...and code for this is using System.Data.SqlClient; public partial class _Default : System.Web.UI.Page { dbclass myobj =new dbclass(); SqlConnection sqlcon=new SqlConnection(); …

Member Avatar for ankitsrist
0
139
Member Avatar for kaizen202

Hi, I have a custom combobox(say comboboxEX) derived from System.Windows.Forms.ComboBox. OnPaint() event I have some background color and styles for the combobox. Every thing works fine. My problem is, I can't set background color when DropDownStyle is "**DropDown**" and **Enabled = false**. But it workes when DropDownStyle is "DropDownList" and …

Member Avatar for kaizen202
0
262
Member Avatar for efth

This is the css of a navigation bar I've made: header{ width: 85%; display: block; margin-left: auto; margin-right: auto;} #nav{ width: 100%; float: left; margin: 0 0 3em 0; padding: 0; list-style: none; background-color: #6E6E6E; border-radius: 10px; border-bottom-right-radius: 50px; border-top-left-radius: 50px;} #nav li{ display: inline; float: left; position: relative;} #nav …

Member Avatar for JorgeM
0
226

The End.