富贵资源网 Design By www.hznty.com
本文实例讲述了jQuery实现手机号码输入提示功能的方法。分享给大家供大家参考。具体实现方法如下:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>jQuery手机号码输入提示</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <style> *{margin:0;padding:0;} #main{width:728px;height:300px; padding:60px;margin:0 auto; border:5px solid #CCC; } input{border: 1px solid #666;} .a{border: 1px solid red;} .text-magnifier { background:none repeat scroll 0 0 #FFFFE4; border:1px solid #E6C99E; color:#FF4800; height:50px; left:170px; padding:5px 0 0 10px; position:absolute; top:30px; width:200px; font:20px Tahoma,Helvetica,Arial,Simsun,sans-serif; } .text-magnifier .mag-explain { border-top:1px solid #E6C99E; color:#6C6C6C; font-size:12px; margin-top:5px; width:190px; } .fn-hide{display:none} </style> <script type="text/javascript" src="/UploadFiles/2021-04-02/jquery1.3.2.js">希望本文所述对大家的jQuery程序设计有所帮助。
富贵资源网 Design By www.hznty.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站资源来自互联网收集,仅供用于学习和交流,请遵循相关法律法规,本站一切资源不代表本站立场,如有侵权、后门、不妥请联系本站删除!
免责声明:本站资源来自互联网收集,仅供用于学习和交流,请遵循相关法律法规,本站一切资源不代表本站立场,如有侵权、后门、不妥请联系本站删除!
富贵资源网 Design By www.hznty.com
暂无评论...