|
|||
list down menu...
hi...
emm..sy ade prob psl list down menu dlm asp nyer code nih..so, berharap sesgt ler pd sesaper yg tau camner nk buat utk settlekan prob sy nih... list menu tu sy dh buat..yg jd prob nyer, xtau camner nk buat action dier pilih user pilih & press the button tepi dier tu.. yg sy buat cenggini, list tu sy senaraikan nama department..then sepatut nyer bila user pilih salah satu department tu then press buttin kt situ..kan dipaparkan lah semua no pc yg ade kt department tuh...so, camner nk buat tu?? itu yg xreti tuh... ![]() pd yg tau camner nk buat code dier tu, hope ada yg sudi menolong... tq |
|
||||
Refer to HERE to know how to get submited listbox value.
After you get the value then you can use it to search in database to get the departments. |
|
|||
hi...
thanks to lcf coz suggested that website.. but, i'm still can't solve my prob.. i'm already av my list but...how can i make it work? b4 this, i just trying to use this code (just trying to see wat happen..) If request.Form("bahagian") = "0" Then response.Write("Ini CPU 0") i think u tau ape output dier...right?? so, i wanna know what code should i write to replace response.write("Ini CPU 0")...u got it wat i mean??? hope sesaper yg tau...leh ler tolong ajar sy.. tq |
|
|||
ops..sorry!! i thought u know wat i m mean... sorry..
erm..lets me xplain wat i wanna do.. here's the code that i created for my list... <select name="bahagian" id="bahagian" size="1"> <option>~Pilihan Bahagian~</option> <option value="0">Semua Bahagian </option> <option value="1">Kewangan </option> <option value="2">Pentadbiran </option> <option value="3">Kejuruteraan Awam </option> <option value="4">Pertanian </option> </select> </font> <br> so, if i used the code below, If request.Form("bahagian") = "0" Then response.Write("Ini CPU 0") the output is... "ini CPU 0" if i selected "semua bahagian" in my list. u got it now?? but..wat i wanna do is, when i select 1 of departments in my list, it should displays the records from my db not like wat i did using the code above.. so, wat a code should i write?? i used access db.. hope anybody can teach me or show me how to do so...tq |
|
|||
![]() |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Menu Effect: Webmastermalaysia. | cleoz | Website Design | 3 | 29-04-2007 12:05 PM |
| Popup menu problem | jhanwt | Website Design | 2 | 26-05-2004 08:23 PM |
| Add option value for List/Menu box | kala_krayon | Website Design | 2 | 29-08-2002 06:38 PM |
| Plus-minus menu | dwazni | Website Design | 3 | 07-06-2002 09:36 PM |
| Hierarcy menu in dw | maman | Webmaster Tools | 4 | 01-05-2002 07:30 PM |
All times are GMT +8. The time now is 09:26 AM.
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0 vBulletin skin by ForumMonkeys.com.
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0 vBulletin skin by ForumMonkeys.com.














Linear Mode

