CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
I need the Perl dynamic drop downs. Where third drop down changes accordong the selection of second drop down.

 



sh.ajay12
User

Jun 6, 2014, 5:10 AM

Post #1 of 4 (5392 views)
I need the Perl dynamic drop downs. Where third drop down changes accordong the selection of second drop down. Can't Post

I need the Perl dynamic drop downs. Where third drop down changes according the selection of second drop down.

I am working on a web page.

Where the user select the file name from different file name in first drop down.

Then the user selects the daily, Last 7 Days, weekly, monthly or Yearly report from the second drop down.

then the third drop down should change according to the selection of the second drop down.
for eg. if the user selects last 7 days then the user has to select the date as shown in the drop down of last 7 days.
similarly
if user selects weekly in the second drop down. then the third drop down should show last 5 weeks dates in the third drop down.

How can i achieve this, let me know.

Thank You very much.


FishMonger
Veteran / Moderator

Jun 6, 2014, 6:00 AM

Post #2 of 4 (5375 views)
Re: [sh.ajay12] I need the Perl dynamic drop downs. Where third drop down changes accordong the selection of second drop down. [In reply to] Can't Post

You can achieve that with javascript.


sh.ajay12
User

Jun 6, 2014, 6:10 AM

Post #3 of 4 (5369 views)
Re: [FishMonger] I need the Perl dynamic drop downs. Where third drop down changes accordong the selection of second drop down. [In reply to] Can't Post

I want that all the drop down selected option should reach another second.cgi script which would show the result as selected in the three drop downs.

can you please provide me a link where i can read materials related to it.

Thank You very much.


FishMonger
Veteran / Moderator

Jun 6, 2014, 6:19 AM

Post #4 of 4 (5365 views)
Re: [sh.ajay12] I need the Perl dynamic drop downs. Where third drop down changes accordong the selection of second drop down. [In reply to] Can't Post

That moves you into using AJAX calls.

http://learn.jquery.com/ajax/
http://www.w3schools.com/ajax/default.ASP
https://www.google.com/search?q=ajax+tutorial&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a&channel=sb

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives