Home >Web Front-end >JS Tutorial >Use js to confirm deletion code in aspx_javascript skills

Use js to confirm deletion code in aspx_javascript skills

WBOY
WBOYOriginal
2016-05-16 18:22:361786browse

1: Define the delete button


OnClick=" btnDelete_OnClick" CommandArgument='<%# Eval("Id") %>' />

2: Add the corresponding script

Copy Code The code is as follows:


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn