Home >Web Front-end >JS Tutorial >Nice function of displaying news in asp_javascript skills

Nice function of displaying news in asp_javascript skills

WBOY
WBOYOriginal
2016-05-16 19:25:211101browse
复制代码 代码如下:








function sx_dm(newsclassid,newsid,action){
    document.sxdm.newsclassid.value=newsclassid;
    document.sxdm.newsid.value=newsid;
    document.sxdm.action = action   ".asp"
    document.sxdm.submit();
}










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();
}









function sx_dmm(newsclassid,newsid,action){
    document.sxdmm.newsclassid.value=newsclassid;
    document.sxdmm.newsid.value=newsid;
    document.sxdmm.action = action   ".asp"
    document.sxdmm.submit();
}


调用方法:
复制代码 代码如下:

淘汰落后钢铁产能06年钢铁价格趋稳
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:How to dynamically add divs using JavaScriptNext article:How to dynamically add divs using JavaScript

Related articles

See more