Welcome to the most active Linux Forum on the web.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 05-13-2005, 06:10 AM   #1
Registered: Mar 2005
Location: Chicago
Distribution: Gentoo AMD64
Posts: 365

Rep: Reputation: 30
page redirect after selecting option in html

In HTML and PHP I am trying to figure out how to cause an action as a result of solely selecting an item from a dropdown menu and not submitting the form. I know I've seen this before, but I am not sure how it is possibe, maybe JavaScript is necessary? I don't need specific code, just a method.


Old 05-13-2005, 07:05 AM   #2
Senior Member
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 66
Indeed Javascript is needed. You'll use 'onchange' on the 'select' element.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
html page maker prabhakar_kushwaha Linux - Software 3 10-14-2005 09:17 PM
Blank screen after selecting boot option in Gentoo (Just installed) BuckRogers01 Linux - Distributions 2 08-30-2005 01:25 PM
mod_python: Sending data to a redirect page nko Programming 1 04-12-2005 05:23 PM
how to redirect PHP code to another page bahadur Programming 3 03-21-2005 05:59 AM
HTML page break? patpawlowski Programming 4 02-12-2004 10:30 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:42 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration