一个表格
<table>
<tr height="30px"><td><input type="button"></td><td><input type="text" maxlength="18" value=<?php echo "$row[a1]"; ?> ></td></tr><tr height="30px"><td><input type="button"></td><td><input type="text" maxlength="18" value=<?php echo "$row[a2]"; ?> ></td></tr><tr height="30px"><td><input type="button"></td><td><input type="text" maxlength="18" value=<?php echo "$row[a3]"; ?> ></td></tr><tr height="30px"><td><input type="button"></td><td><input type="text" maxlength="18" value=<?php echo "$row[a4]"; ?> ></td></tr>
</table>怎么实现
如果$row[a*]没有值则它所在的<tr></tr>隐藏,若有值,则出现(包括该行中的button)当鼠标悬浮在隐藏的<tr></tr>上时,出现;鼠标移出,重新隐藏
<table>
<tr height="30px"><td><input type="button"></td><td><input type="text" maxlength="18" value=<?php echo "$row[a1]"; ?> ></td></tr><tr height="30px"><td><input type="button"></td><td><input type="text" maxlength="18" value=<?php echo "$row[a2]"; ?> ></td></tr><tr height="30px"><td><input type="button"></td><td><input type="text" maxlength="18" value=<?php echo "$row[a3]"; ?> ></td></tr><tr height="30px"><td><input type="button"></td><td><input type="text" maxlength="18" value=<?php echo "$row[a4]"; ?> ></td></tr>
</table>怎么实现
如果$row[a*]没有值则它所在的<tr></tr>隐藏,若有值,则出现(包括该行中的button)当鼠标悬浮在隐藏的<tr></tr>上时,出现;鼠标移出,重新隐藏
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货