> -----Original Message----- > From: Leina Last [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 20, 2003 7:01 AM > To: [EMAIL PROTECTED] > Subject: send textfield value with addPathInfo() ? > > > > Hi > > I will appreciate if someone PLEASE can help me. > > I have a text field like <input type="text" name="YYYY" value="2003"> > and would like to send the value of YYYY to a servlet > (data.getParameters().getString("YYYY") ), making use of > addPathInfo(). > > To send the value, I tried something like > addPathInfo("YYYY",YYYY.value), I also tried calling a > javascript something like addPathInfo( "YYYY",getYearValue() ) > None of these work. > > How can I manage to send a value from a text field making use of > addPathInfo() ?
Put a javascript alert in to make sure that the variable you are tring to send actually has a value. If it does, view the source of the web page to see if the URL was constructed correctly. > Thank You > > L > > > > --------------------------------- > Do you Yahoo!? > Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
