How to implement pop-up window in web Click OK and then delete data
This article mainly introduces how to click on the pop-up window in web and then delete the data. the article is very detailed and has a certain reference value. Interested friends must finish reading it!
The code is as follows:
Function myClick () {
If (confirm ("are you sure you want to delete?") {
Return true
}
Else {
Return false
}
}
Trailing code
The copy code is as follows:
Protected void Button1_Click (object sender, EventArgs e)
{
Button1.Text = "Hello World"
/ / delete the code for the data in the data here.
}
The above is all the contents of the article "how to realize the pop-up window in web and click OK to delete the data". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!