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
Release: 2016-05-16 19:25:21
Original
1082 people have browsed it
复制代码 代码如下:








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年钢铁价格趋稳
Related labels:
js
source:php.cn
Previous article:How to dynamically add divs using JavaScript Next article:Use TextRange to get the position of the cursor in the input box_javascript skills
Statement of this Website
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
Latest Articles by Author
Latest Issues
Related Topics
More>
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template