![]() |
| ||
| Confirmation message in my form after filling all details click on the submit button after inserting the data iam getting the same page with empty fields, till this ok i want to display in that form one confirmation message along with empty fields like Date inserted successfully |
| ||
| Re: Confirmation message <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" |
| ||
| Re: Confirmation message Check this code...u can use innerHTML instead of "Alert box" <html> |
| ||
| Re: Confirmation message Thanqs for ur reply but i want like in gmail after compose mail we click on send button then we get inbox screen on that page we will get one msg that is ur message has been sent successfully like that i want even js,ajax also ok in my form(already iam using ajax in jsp) after enter data i click on submit button it calls another jsp in that data is insert in databse after that without any click it goes to another jsp page on that page i want msg insert successfully |
| ||
| Re: Confirmation message hi use one variable isInserted, which will be set true if data is inserted successfully, check its value inside the page and based on this insert a div element which will show the required message. are u using ajax for submission ? if ~s.o.s~ code is ok for you, you can insert div element instead of showing alert message in if statement. |
| ||
| Re: Confirmation message iam inserting data in bs_add.jsp (in this i used some ajax code) after cick submission it calls bs_insert.jsp( here i didn't use any html code)here iam inserting data into database, using jsp with out click event iam using sendRedirect go back to the bs.jsp In bs.jsp i want get insert data successfully |
| ||
| Re: Confirmation message hi redirect to the bs.jsp with some GET of POST data, on the basis of this data you can design bs.jsp such that it will show the message. |
| All times are GMT -4. The time now is 3:33 pm. |
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC