GIDForums  

Go Back   GIDForums > Computer Programming Forums > MySQL / PHP Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 01-Sep-2007, 05:15
venkib097 venkib097 is offline
New Member
 
Join Date: Jul 2007
Posts: 7
venkib097 is on a distinguished road

how to add select list dynamically when i click add another button


hi guys ,
my code :

PHP Code:

<table width="100%" border="0" cellspacing="0" cellpadding="0" style="padding-bottom:2px;">
<tr>
<td align="right" width="25%" bgcolor="#E8F0F7"><div>Select a Shift:</div></td>
<td class="runningText" width="75%">&nbsp;
                 <select name="selectshift" onChange="javascript:function to be included();">
                  <option value="choose">please choose</option>
                  <option value="morning">MORNING</option>
                  <option value="general">GENERAL</option>
                  <option value="afternoon">AFTERNOON</option>
                  <option value="night">NIGHT</option>
                  </select>
 </td></tr>
<tr><td>
<div id="content area">   </div> 


when i select shift some shift (like morning) ,it will dispaly dynamically in next row in the content area with two select lists with option values(here the option values are hours from 7am -to- 5pm)& one button. if i click add button it wii add another two select lists in the same division area below the first added select lists with same option values like above.please any one help to this ............soon
thanks
venki'
Last edited by LuciWiz : 01-Sep-2007 at 11:55. Reason: Please insert your Php code between [php] & [/php] tags
 
 

Recent GIDBlogProblems with the Navy (Chiefs) by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
need 'pointers' on deaing with segmentation faults aijazbaig1 C Programming Language 7 17-Aug-2007 08:43
C++ class -- Please help vnca_1 C++ Forum 3 14-Jun-2006 13:31
[Include] Doubly-linked List dsmith C Programming Language 6 14-Apr-2006 14:12
linked list error message Krandygrl00 C++ Forum 4 22-Jun-2005 15:13

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 21:33.


vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.