Urgent..Anyone please Assist
var cell1 = row.insertCell(0);
var element1 = document.createElement("input");
element1.type = "text";
cell1.appendChild(element1); //and so on for 5 columns too
Main problem is that i am not able to access these dynamically added textboxes values from my jsp code. (because
Now,i want to save the value from these dynamically added textboxes(in form of table) from the .jsp page to
database using jsp...(there can be several rows generated depending upon user input)
or else suggest me code to create them dynamically so that i can fetch data from added dynamic textboxes on jsp
And please ..i don't want to go for servlet concept...wants using jsp only..
wonder boy wrote:And please ..i don't want to go for servlet concept...wants using jsp only..
Fail. You have already go off the rails.
That's like saying "I want to build a car, but only using a screw driver"
You need to use multiple tools, and each for what it does best. JSP is for presentation. Java code should be in a servlet and other Java classes.