can anyone tell me with example how to add dynamically by adding a add button 1)i have two field Enter the place of interview 2)enter the time of interiew
after filling that and when i press add the first entry should save in the arraylist and a same field should repeat again so that i can send the next request and so on.. please someone tell me how to do in struts as i am new in struts i dont know..
You seem to ask very similar questions over and over. This is a JavaScript question. You need to create the input element via JavaScript and add it to the DOM.
sanju sreedharan
Ranch Hand
Joined: Nov 25, 2008
Posts: 48
posted
0
its not a javascript question..we can add dynamically using struts also...i dont want to do it in javascript i want to do in struts..why always you are telling its a javascript question...i want to do it in struts with the help of arraylist..i dont want your help..i will ask someone else..bye
If you're submitting a form then you're not adding it dynamically, you're just incrementing a counter and re-rendering the entire page. That doesn't really fall under the definition of "dynamic" these days, but whatever.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.