Posted in Javascript onOctober 13, 2006
<div style="display:none "> <form name="sxdm" method="post"> <input type="hidden" name="newsclassid"> <input type="hidden" name="newsid"> </form> </div> <script language="javascript"> function sx_dm(newsclassid,newsid,action){ document.sxdm.newsclassid.value=newsclassid; document.sxdm.newsid.value=newsid; document.sxdm.action = action + ".asp" document.sxdm.submit(); } </script> <div style="display:none "> <form name="sxdms" method="post"> <input type="hidden" name="newsclassid"> <input type="hidden" name="newsid"> <input type="hidden" name="newskey"> </form> </div> <script language="javascript"> function sx_dms(newsclassid,newsid,newskey,action){ document.sxdms.newsclassid.value=newsclassid; document.sxdms.newsid.value=newsid; document.sxdms.newskey.valuenewskey; document.sxdms.action = action + ".asp" document.sxdms.submit(); } </script> <div style="display:none "> <form name="sxdmm" method="post" enctype="multipart/form-data"> <input type="hidden" name="newsclassid"> <input type="hidden" name="newsid"> </form> </div> <script language="javascript"> function sx_dmm(newsclassid,newsid,action){ document.sxdmm.newsclassid.value=newsclassid; document.sxdmm.newsid.value=newsid; document.sxdmm.action = action + ".asp" document.sxdmm.submit(); } </script>
调用方法:
<a onclick="sx_dm(3,222,'newshow');" style="cursor:hand">淘汰落后钢铁产能06年钢铁价格趋稳</a>
不错的asp中显示新闻的功能
声明:登载此文出于传递更多信息之目的,并不意味着赞同其观点或证实其描述。
Reply on: @reply_date@
@reply_contents@