<script type="text/javascript">

<!--

function MM_setTextOfTextfield(objId,x,newText) { //v9.0
with (document){ if (getElementById){

var obj = getElementById(objId);} if (obj) obj.value = newText;

}

}

//-->

</script>



<input name="name1" type="text" id="name1" onfocus="MM_setTextOfTextfield('name1','','')" value="初值"/>

arrow
arrow

    小林 發表在 痞客邦 留言(0) 人氣()