Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Apr 25th, 2005, 4:47 PM   #1
nameless
Newbie
 
nameless's Avatar
 
Join Date: Apr 2005
Location: California
Posts: 3
Rep Power: 0 nameless is on a distinguished road
i am a newbie,,how to use the onchange even in php

when i combine what used to be 3 pages into one, how do i use the onchange event in php or javascript and send it to the same page.

like from one array drop down list to another all in the same page

Please show me examples because i am very new at this...



thanx
nameless is offline   Reply With Quote
Old Apr 26th, 2005, 8:38 AM   #2
Pizentios
Programming Guru
 
Pizentios's Avatar
 
Join Date: May 2004
Location: Brandon, Manitoba, Canada
Posts: 2,023
Rep Power: 7 Pizentios is on a distinguished road
Send a message via ICQ to Pizentios Send a message via MSN to Pizentios
moved to proper forum.
__________________
Profanity is the one language that all programmers understand.

Check out my Blog <---updated Nov 30 2007!
Pizentios is offline   Reply With Quote
Old Apr 26th, 2005, 1:07 PM   #3
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
I believe you want this:
<select ... onchange="form.submit();" />
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Apr 26th, 2005, 9:34 PM   #4
tempest
Programming Guru
 
tempest's Avatar
 
Join Date: Oct 2004
Posts: 1,041
Rep Power: 5 tempest is on a distinguished road
Send a message via ICQ to tempest Send a message via AIM to tempest Send a message via Yahoo to tempest
Ooble is right, and just so you know the event changes onAnything are javascript...
__________________

tempest is offline   Reply With Quote
Old Apr 27th, 2005, 12:54 PM   #5
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Technically, they can be any form of client-side scripting language, but I don't think browsers support anything but JavaScript any more.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Apr 27th, 2005, 2:49 PM   #6
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
I thought IE did away with Javascript stuff by default because of their run-in with Sun?
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Apr 27th, 2005, 3:49 PM   #7
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Well, since JavaScript was written by Netscape, I doubt it. I think you might be thinking of Java, which was written by Sun.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old May 2nd, 2005, 1:50 PM   #8
nameless
Newbie
 
nameless's Avatar
 
Join Date: Apr 2005
Location: California
Posts: 3
Rep Power: 0 nameless is on a distinguished road
thx for the help !!!!
nameless is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 9:08 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC