Dynamic Drop down boxes

Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Dynamic Drop down boxes
# 8  
Old 10-15-2007

Thanks for that. But only the first part seems to work. When I choose something in the first box, it runs into an error.
# 9  
Old 10-15-2007
What is the error? I just copied and pasted from my machine and there was no error when I tested.

I have uploaded to http://www.cbkihong.com/test/testdropbox.pl.

Last edited by cbkihong; 10-15-2007 at 01:01 PM..
# 10  
Old 10-16-2007
The following error props up when I choose something in the first list

"The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error. "
# 11  
Old 10-16-2007
You did not save the script as "testdropbox.pl", which I mentioned.

Please check the link I posted. The code running there is exactly the same as posted. There should not be any problem there.
# 12  
Old 10-16-2007
Ohhh Ok. It worked now. Thanks a tonne.
# 13  
Old 10-18-2007
Hi. Sorry to be bugging you so much. But I am not able to understand this piece of code you showed me as an example. What must I go through to understand this? Please lead me to some pointers.
# 14  
Old 10-18-2007
Assuming you really know HTML (can hand-code it) and you know what CGI is (please read the CGI specification otherwise although rather dated) as you previously mentioned, then you should learn Javascript and DOM, and probably Perl too if you are not too familiar with it.

It's difficult to give you any specific pointers as I do not know how much you know about all of these things. However, as you do not understand how the script works, then I really doubt whether you have production knowledge in HTML and CGI, as this is a really simple example.

You can do a directory or Google search on these keywords and you ought to find a lot of resources. You may probably wish to buy some books on these subjects but I have no recommendations at this point.

I would suggest you to ensure you have working knowledge of the client tier first, i.e. HTML and Javascript/DOM. Then you can proceed further to understand how to generate them on the server side, and investigate how CGI allows you to capture form parameters on the server-side, and send back the response.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

DNS Drop out

My boss use a MacBook and he encounter with DNS drop out and he cannot surf website for 1-2 mins. The DNS Service of my company is on UNIX server. I try to delete some unused IP of DNS Server in resolv.conf and dhcp.conf and I try to update root.hint file but The problem is not fixed. Please... (5 Replies)
Discussion started by: thsecmaniac
5 Replies

2. Web Development

Dynamic Drop Down Menu

I need to create a dynamic drop down menu which is populated by entries such as; htdocs/client1/index.php htdocs/client2/index.php htdocs/client3/index.php htdocs/client4/index.php etc. So htdocs/client*/index.php Is this possible? I know how to do this using normal arrays, but not... (2 Replies)
Discussion started by: JayC89
2 Replies

3. UNIX for Advanced & Expert Users

Sql dynamic table / dynamic inserts

I have a file that reads File (X.txt) Contents of record 1: rdrDESTINATION_ADDRESS (String) "91 971502573813" rdrDESTINATION_IMSI (String) "000000000000000" rdrORIGINATING_ADDRESS (String) "d0 movies" rdrORIGINATING_IMSI (String) "000000000000000" rdrTRAFFIC_EVENT_TIME... (0 Replies)
Discussion started by: magedfawzy
0 Replies

4. Shell Programming and Scripting

Drop down menu

How to create a drop down menu in either bash or ksh? (3 Replies)
Discussion started by: proactiveaditya
3 Replies

5. Shell Programming and Scripting

drop down structure in file

I have file like this 120, rahim, d40 115, rahul, d40 113, begum, d40 I want to group this file like this 120, rahim, d40 115, rahul, 113, begum, can any one help me on this thanks in advance (1 Reply)
Discussion started by: trichyselva
1 Replies

6. Shell Programming and Scripting

using sed but want to drop last line

Howdy all. I have some scripts that read a text file looking for a keyword, then returning all the text until another keyword and puts it into a new file. Problem is, sed returns the entire last line that contains the 2nd keyword, and I don't want it! Here's an example of the sed script line: ... (21 Replies)
Discussion started by: atc98092
21 Replies

7. UNIX for Dummies Questions & Answers

read and drop files

I have hundreds of small files in csv format. I want to read them one at a time, insert the data into a table and then delete it. data1 to data999.txt files needs to be read and data to be added to a table. mysql -e"LOAD DATA INFILE 'data1.txt' INTO TABLE my_table;" if echo $? = 0 then rm... (1 Reply)
Discussion started by: shantanuo
1 Replies

8. UNIX for Dummies Questions & Answers

Drop Users

I know that this is a really simple and stupid question, but how do I drop / disconnect a user who is logged in? AIX 5.2 (2 Replies)
Discussion started by: trfrye
2 Replies

9. Programming

text boxes, radio buttons , check boxes in c++ on unix

Hi ! Please tell me how to get radio buttons, text boxes , check boxes , option buttons , pull down menus in C++ on Unix. I think it would be done using curses.h ..but that's all i know. TIA, Devyani. (3 Replies)
Discussion started by: devy8
3 Replies
Login or Register to Ask a Question