Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
displaying multiple rows based on textbox value
Joined: Mar 10, 2004
Jun 13, 2006 04:46:00
I need to acheive the following functionality:
In my HTML form,
<form name="foForm"> <table> <tr> <td>Values</td> <td><input type="text" name="txt_val"></td> <td><input type="submit" value="submit"></td> </tr> </table>
Now my requirement is that when the user enters value in the textbox as 1-5 and clicks on the submit button my output should be:
if the user enters 1,5 in the textbox the output should be:
Joined: Nov 08, 2001
Jun 13, 2006 05:50:00
You will have to use something like indexOf or split() and also createRow();
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: displaying multiple rows based on textbox value
how to display form element's in line
Multiple forms in a single JSP page
How to send Parameters from JSP to a Servlet?
servlet or jsp page with prefilled forms
jsp form with two submit button
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013