Home > Backend Development > PHP Tutorial > 这段jsp代码如何转换为PHP代码

这段jsp代码如何转换为PHP代码

WBOY
Release: 2016-06-06 20:22:16
Original
2136 people have browsed it




圣诞新年马上就要到了,赶快把您的祝福传递给朋友!






function cleartab(){

<code>var primgs=document.getElementById(primg[curentico]);
var prtxts=document.getElementById(prtxt[curentico]);
primgs.className="iB";
prtxts.className="";
}
</code>
Copy after login

function mcTab(im,id){

<code>cleartab();
var pathimg="im/"+im+".jpg";
document.Mailcard.imgBox.src=pathimg;
var primgs=document.getElementById(primg[id]);
var prtxts=document.getElementById(prtxt[id]);
primgs.className="iBF";
prtxts.className="tBF";
document.Mailcard.cardImg.value=pathimg;
curentico=id;
}
</code>
Copy after login

function validate(){

<code>if(document.Mailcard.toEmail.value==""){
    alert("璇峰~</code>
Copy after login
Related labels:
php
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