後,我想用this插件在我的asp.net應用程序jQuery的消息框回傳
我想顯示回發後報警或等。 我寫了這段代碼,但它不起作用。
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>
感謝。
偉大:)我的代碼有什麼問題?在我顯示此警報後,我的下拉列表將被隱藏!你有這個問題嗎? – Shahin 2010-11-25 07:23:46