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

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

WBOY
WBOYOriginal
2016-06-06 20:22:162154browse




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






function cleartab(){

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

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>

function validate(){

<code>if(document.Mailcard.toEmail.value==""){
    alert("璇峰~</code>
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