Topic
  • 2 replies
  • Latest Post - ‏2008-07-14T05:19:18Z by SystemAdmin
SystemAdmin
SystemAdmin
210 Posts

Pinned topic Checkbox Problem--Please Check this

‏2008-02-21T05:30:54Z |
Checkbox Problem--Please Check this
hi,
in my jsp i dynamically get values from backend with each checkbox in a row. if i want to delete a row ..i click on the checkbox and give submit.now how to send the row values to chekcbox to button.

i want to send row value with the checkbox and so when i check that box and perform the delete operation the row should be deleted
(in jsp and servlets).

anything regarding this ..either the syntax or tutorials....please send me.

Thank You
Updated on 2008-07-14T05:19:18Z at 2008-07-14T05:19:18Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    210 Posts

    Re: Checkbox Problem--Please Check this

    ‏2008-06-13T20:25:32Z  
    perform a function to submit your form, in this function use INNERHTML to get the row value ahhh and add a dynamic hidden input (if row.length > 1 then the input will be an array). in this hidden get the row value.
    In your servlet or in the javascript function iterate the hidden input delete the marked rows and thats it
  • SystemAdmin
    SystemAdmin
    210 Posts

    Re: Checkbox Problem--Please Check this

    ‏2008-07-14T05:19:18Z  
    Not sure if this gonna help, but you may want to read this one...

    http://forum.java.sun.com/thread.jspa?messageID=1275801