Please help....
-
hi folks... i am developing a project using Asp.net (2005) i Have a button called CmdEdit . and the caption(Text) will change from edit to Update when clicked on it.. now i need to use the confirmation using javascrpt when he clicks on update... Like Do u want To update and two buttons OK Cancel Totally i need to display a confirm box after he updates and clicks on update button thanks in advance :)
-
hi folks... i am developing a project using Asp.net (2005) i Have a button called CmdEdit . and the caption(Text) will change from edit to Update when clicked on it.. now i need to use the confirmation using javascrpt when he clicks on update... Like Do u want To update and two buttons OK Cancel Totally i need to display a confirm box after he updates and clicks on update button thanks in advance :)
Write javascript function and the call it in button property OnClientClick.
God Bless you. Always do good to others
-
hi folks... i am developing a project using Asp.net (2005) i Have a button called CmdEdit . and the caption(Text) will change from edit to Update when clicked on it.. now i need to use the confirmation using javascrpt when he clicks on update... Like Do u want To update and two buttons OK Cancel Totally i need to display a confirm box after he updates and clicks on update button thanks in advance :)
devkranth wrote:
now i need to use the confirmation using javascrpt
return confirm("Are you sure to update");
-
devkranth wrote:
now i need to use the confirmation using javascrpt
return confirm("Are you sure to update");
hi thanks for ur reply i am using it OnCLientClick Propety now wannt 2 update based upon the return value in the codebehind
-
hi folks... i am developing a project using Asp.net (2005) i Have a button called CmdEdit . and the caption(Text) will change from edit to Update when clicked on it.. now i need to use the confirmation using javascrpt when he clicks on update... Like Do u want To update and two buttons OK Cancel Totally i need to display a confirm box after he updates and clicks on update button thanks in advance :)
devkranth wrote:
Re: Please help....
Please give meaningful subject Always
devkranth wrote:
i need to use the confirmation using javascrpt
write the function and do the following function CallMe() { var K = confirm("Do you want to Update"); if (k) { //Do the code after click on OK } else { //Do the code after click on Cancel } } and call the function onClick event Hope It Helps regards, koolprasad2003:)
If the message is useful for U then please Rate This message... Be a good listener...Because Opprtunity knoughts softly...N-Joy
-
devkranth wrote:
Re: Please help....
Please give meaningful subject Always
devkranth wrote:
i need to use the confirmation using javascrpt
write the function and do the following function CallMe() { var K = confirm("Do you want to Update"); if (k) { //Do the code after click on OK } else { //Do the code after click on Cancel } } and call the function onClick event Hope It Helps regards, koolprasad2003:)
If the message is useful for U then please Rate This message... Be a good listener...Because Opprtunity knoughts softly...N-Joy
hi prasad i want to display the confirm message after he selects the id and updates the data The Flow is as follows 1.user clicks in edit the catpion is changed 2 Update 2.User Selects the id n accoording to the selected id the data is displayed in there respective textboxes 3.User Changes the neccessary data.. 4. When user clicks on the Update Button i need the Confirm Message DO u wantto update?