jqueryポップアップを実装しました
なので
<script type="text/javascript">
$(document).ready(function () {
$("input[id$=btnclick]").click(function () {
if ($("#content").html() != "") {
AlertDialog($("#content").html());
}
});
});
function AlertDialog(msg) {
$.modaldialog.success(msg, {
width: 400,
height: 100
});
}
// $(document).ready(function () {
// if ($("#content").html() != "") {
// AlertDialog($("#content").html());
// }
// });
</script>
<asp:Button ID="btnclick" runat="server" Text="click me" />
document.getready でポップアップが正しく開きますが、クリックしてもポップアップが開きません。