このプラグインをasp.netアプリケーションで使用したい
ポストバック後にアラートなどを表示したい。私はこのコードを書きましたが、動作しません。
string a = null;
a = "csscody.alert('<h1>Information Alert</h1><em>low level</em><br/><p>© All rights reserved 2006-2010. </p><p> jQuery examples site <a href=\\'http://www.csscody.com/\\'>www.csscody.com</a> </p>');return false;";
ScriptManager.RegisterStartupScript(Page, GetType(), "script", a, true);
このコードはクライアント側で機能します:
<p>
<strong>1.)</strong> <a href="http://www.csscody.com/#" onclick="csscody.alert('<h1>Information Alert</h1><em>low level</em><br/><p>© All rights reserved 2006-2010. </p><p> jQuery examples site <a href=\'http://www.csscody.com/\'>www.csscody.com</a> </p>');return false;">
Info Message Popup Alert</a></p>
<p>
ありがとう。