Home > Web Front-end > JS Tutorial > body text

How to use js on template pages_javascript skills

WBOY
Release: 2016-05-16 18:30:54
Original
873 people have browsed it

As shown below:
Code

Copy code The code is as follows:

onkeyup="CheckResume('ctl00_head_txt_title','title')" />(style="color: #CC0000" > 🎜>
The code is as follows:


function CheckResume(_obj1, _obj2) {
//alert(document.getElementById(_obj1).value); if ( document.getElementById(_obj1).value == "") { document.getElementById(_obj2).innerHTML = ""; return false; } else { document.getElementById(_obj2).innerHTML = "";
return true;
}
}


The actual call is as follows
Code




Copy code

The code is as follows :


onkeyup="CheckResume('ctl00_head_txt_title','title')" />        
Related labels:
js
source:php.cn
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template