Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to add row of text box and combox dynamically using struts

 
Maddy johnson
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
In my JSP I have something like a row of TextBox-----Combox-----TextBox Button--Add
When user clicks on "Add" I need to add exactly the same row as above.
Pls tell me how can I do this....I am using struts.
I am not able to post my code here due to some character not allowed...:-(
[ February 25, 2008: Message edited by: Bear Bibeault ]
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65225
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please use real words when posting to the forums. Abbreviations such as "pls" in place of "please" only serve to make your posts more difficult to read and less likely to generate useful responses.

Please read this for more information.

thanks,
bear
JavaRanch sheriff
 
rajan Kayarohanam
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use javascript DOM properties for this functionality...
find below the URL for this

Add Row

I guess this would be helpful for you.

Regards,
KMR
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maddy,

You sent me a private message regarding this question, but your profile is set to not accept private messages. That makes it so I have no way to respond to your message.

Just so you know, though: My response to your question would have been exactly what rajan Kayarohanam has already responded.

Merrill
 
Maddy johnson
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks to both for replying...!!!
I just wanted to post my code but its not allowing me and giving me following error..!!!
FYI
Sorry, your post appears to have an illegal HTML tag. Often this is because the post contains a "less than" character instead of the equivalent HTML escape sequence "& lt;"

You can fix this by replacing every "less than" in your post with "& lt;" (without the internal space). Sometimes the problem is that you're using a specific method name which our system thinks is part of an attempt to insert some evil JavaScript exploit into our pages. The most common is "getkookie()" - just replace this phrase with something else like getKookie(). Sorry for the inconvenience; this is the best we can do for now.


Even I removed "less than" still same error...!!! Is there any other way to fix this.
 
sanju sreedharan
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
maddy

even i am also having problem with this issue..can you tell me if you got that answer.i am also using struts

sanju
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic