Good ASP display news function _javascript skills

Source: Internet
Author: User
Copy Code code as follows:

<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>

Call Method:
Copy Code code as follows:

<a onclick= "Sx_dm (3,222, ' newshow ');" style= "Cursor:hand" > Elimination of backward steel production capacity in 06 steel price stabilization </a>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.