View Single Post
Old 01-15-2007, 10:41 PM   #1 (permalink)
Arenlor
Senior Member
 
Join Date: 01-02-07
Location: PA, USA
Posts: 191
iTrader: 0 / 0%
Latest Blog:
None

Arenlor is liked by somebodyArenlor is liked by somebodyArenlor is liked by somebodyArenlor is liked by somebody
Send a message via ICQ to Arenlor Send a message via AIM to Arenlor Send a message via MSN to Arenlor Send a message via Yahoo to Arenlor
JavaScript is evil, I swear

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head><title>HIDDEN</title> <link rel="icon" href="favicon.ico" type="image/x-icon" /> <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" /> <meta http-equiv="content-type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <link rel="stylesheet" type="text/css" href="styles.css" /></head> <body><form method="get" name="user" action="/forum/profile.php"> <select name="member_id" id="member_id" onChange="document.user.member_id.options[document.user.member_id.selectedIndex].value" ><option value="1">HIDDEN</option><option value="2">HIDDEN</option><option value="3">HIDDEN</option><option value=""></option><option value="5">HIDDEN</option><option value="6">HIDDEN</option><option value="7">HIDDEN</option><option value="8">HIDDEN</option><option value="9">HIDDEN</option><option value="10">HIDDEN</option></select></form><table class="forum"> <tr><td>Name:</td><td>HIDDEN</td></tr> <tr><td>Address:</td><td>HIDDEN</td></tr> <tr><td>Tele:</td><td>HIDDEN</td></tr> </table><p><a href="profedit.php">Edit Profile</a></p><p><a href="index.php">Main</a></p> </body> </html>
As far as I know this should work so that when I select an option from the dropdown box it'll change the Name: Address: Tele: fields, I used PHP and MySQL for those fields, when I use a normal form, with a submit button it works fine, so I know it's not that part, it's only the change when an option is selected that's causing a problem. Also option 4 is meant to be missing.
Arenlor is offline   Reply With Quote