0
我在我的页面中的JS功能,当页面负载,我SFW加载内容normaly,我已经加入了ButtonClienClick叫我JS功能,以显示包含我的SWF股利内容,但是当按钮点击被触发时,我的swf不会加载。在点击按钮时加载此内容的任何消息?加载SWF内容的js的Clik
function ShowDialogLoading()
{
$('#example').flash(
{
src: 'Img/banner_aguarde.swf',
width: 902,
height: 320
}
);
$("#example").dialog({
create: function (event, ui) {
$(".ui-widget-header").hide();
$(".ui-dialog-content").css("padding","0px");
},
modal: true,
title: 'Pagamento Pré-Pago',
resizable: false,
draggable: false,
width: 'auto',
height: 'auto'
});
}
<asp:Button ID="btnProximoPasso" CssClass="form-button" OnClientClick="ShowDialogLoading()" runat="server" Text="Próximo Passo"
OnClick="btnProximoPasso_Click" />