how to access element added via javascript dynamically using jsp code
Urgent..Anyone please Assist
how to access data from the elements added via javascript dynamically using the jsp code.
i am adding empty records on .jsp page using javascript (by calling a below function on click event of button) as :-
var cell1 = row.insertCell(0);
var element1 = document.createElement("input");
element1.type = "text";
element1.value="";
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 they have been created dynamically by javascript)
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 page.
And please ..i don't want to go for servlet concept...wants using jsp only..
thnks ....
View Answers
Ads
Related Tutorials/Questions & Answers:
Advertisements
Add and Delete Element Using Javascript in JSP
Add and Delete
Element Using Javascript in
JSP... developed an application to
add and delete
element using javascript . We created two...;/HTML>
In this
code having two
Javascript function addRow
javascript Code - JSP-Servlet
javascript Code
how to count controls in form and find no of contriols in html or
jsp page.for example one table is there with 10 rows,each row consists of 3 fields as 2 text box and one drop down box
tree using jsp code
tree
using jsp code i want to draw a tree structure of a family hierarchy
using jsp code
How to access the database from JSP?
How to
access the database from
JSP? Hi,
What is the process... database from
JSP which explains you
how to
access the database by embedding... you can
access the database by embedding the JDBC
code. But this is not the best
problem in jsp using ms-access
problem in
jsp using ms-access after starting server(tomcat) wen v...)Your DSN will get created.
6) Restart your server and run your
jsp code.
Here... will get created.
6) Restart your server and run your
jsp code.
Here is your