


请用360、firefox、chrome浏览器的朋友看一下, 为什么我做的表单只能用Tab跳?用鼠标点就又跳回上一个文本框?_html/css_WEB-ITnose
我的网址是http://www.wuyue-car.com/
就是这个图中的日期,除了用IE正常外,其它浏览器,只要用鼠标点一下“至”后面那个文本框,就会自动跳回到上一个文本框,这是怎么回事?
回复讨论(解决方案)
这是我的源码,帮我看一下
你的代码里js 有错误,你调试看看吧。 第一个demo2 是哪里的?
<script> <br /> var speed=30 <br /> demo2.innerHTML=demo1.innerHTML <br /> function Marquee() <br /> { <br /> if(demo2.offsetTop-demo.scrollTop<=0) <br /> demo.scrollTop-=demo1.offsetHeight <br /> else <br /> { <br /> demo.scrollTop++ <br /> } <br /> } <br /> var MyMar=setInterval(Marquee,speed) <br /> demo.onmouseover=function() {clearInterval(MyMar)} <br /> demo.onmouseout=function() {MyMar=setInterval(Marquee,speed)} <br /> </script>
不是这里的问题,我删除了也没用,请再帮我看一下
你的代码里js 有错误,你调试看看吧。 第一个demo2 是哪里的?
<script> <br /> var speed=30 <br /> demo2.innerHTML=demo1.innerHTML <br /> function Marquee() <br /> { <br /> if(demo2.offsetTop-demo.scrollTop<=0) <br /> demo.scrollTop-=demo1.offsetHeight <br /> else <br /> { <br /> demo.scrollTop++ <br /> } <br /> } <br /> var MyMar=setInterval(Marquee,speed) <br /> demo.onmouseover=function() {clearInterval(MyMar)} <br /> demo.onmouseout=function() {MyMar=setInterval(Marquee,speed)} <br /> </script>
<td> <form> <table> <tbody> <tr> <td> <div><span> </span></div> <span> <marquee> </marquee> </span> <marquee> <div><span>网上订车<br> 方便快速<br> 及时准确 </span></div> </marquee> </td> <td><div><span>五岳租车公司 网上快速订车</span></div></td> <td> </td> </tr> <tr> <td><div><span>注册用户并预存租车费用<br> 可享受高折扣优惠!</span></div></td> </tr> <tr> <td><div><span><a>登录</a> <a>注册</a></span></div></td> </tr> <tr> <td> </td> <td> </td> </tr> <tr> <td><span>用车单位:</span></td> <td> <span> <label> <input> </label> <br> </span><span>例:廊坊市XXXX有限公司</span> </td> </tr> <tr> <td><span>用途:</span></td> <td><span> <select> <option>旅游用车</option> <option>婚庆租车</option> <option>天津机场租车</option> <option>单位租车</option> <option>北京国际机场租车</option> <option>会议用车</option> <option>其他租车</option> </select> </span></td> </tr> <tr> <td><span>用车时间:</span></td> <td><span> <input> 至 <input> <br> 例:2013年9月5日至2013年9月10日</span></td> </tr> <tr> <td><span>共计人数:</span></td> <td><span> <label> <input> 人 </label> </span></td> </tr> <tr> <td><span>行程描述:</span></td> <td> </td> </tr> <tr> <td><span><span><span></span> <span></span> <label> <div></div></label></span></span></td> <td> <div> <div> <textarea></textarea> </div> </div> <div> <p><span>例:9月5日从廊坊出发,上午到达北京天安门。9月6日到天津机场。9月7日到唐山汽车站,9月8日返回廊坊</span></p> </div> </td> </tr> <tr> <td><span>接人地点及时间:</span></td> <td> <span> <label> <input> </label> </span><span><span>例:9月5日早上7:15在京客隆对面接人</span></span> </td> </tr> <tr> <td><span>第一联系人姓名及电话:</span></td> <td> <span> <label> <input> </label> <span> (手机号请如实填写,很重要)</span></span><span><strong><span>例:</span></strong></span><span>王小明,手机:13333336363 </span> </td> </tr> <tr> <td><span>第二联系人姓名及电话:</span></td> <td> <span> <label> <input> </label> </span><span>例:李小明,手机:13978372637</span> </td> </tr> <tr> <td><div> <div>备注:</div> </div></td> <td> </td> </tr> <tr> <td><div> </div></td> <td><div><span> <textarea></textarea> </span></div></td> </tr> <tr> <td><span> <label> <div> <input> <input> <input> </div> </label> </span></td> </tr> <tr> <td><div> <div>五岳最新动态 </div> </div></td> <td> <span> <marquee> <div> <a>五岳租车购进的新能源汽车将补新政策十大亮点</a><br> <a>廊坊租车快捷的方式、完善的服务只因您而存在!</a><br> <a>五岳汽车</a><br> <a>廊坊是否用名人和电影效应推动旅游业与租车业</a><br> <a>廊坊租车从廊坊到成都峨眉山有多远?</a><br> </div> </marquee> </span> </td> <td> </td> </tr> </tbody> </table> </form> </td>

The future trends of HTML are semantics and web components, the future trends of CSS are CSS-in-JS and CSSHoudini, and the future trends of JavaScript are WebAssembly and Serverless. 1. HTML semantics improve accessibility and SEO effects, and Web components improve development efficiency, but attention should be paid to browser compatibility. 2. CSS-in-JS enhances style management flexibility but may increase file size. CSSHoudini allows direct operation of CSS rendering. 3.WebAssembly optimizes browser application performance but has a steep learning curve, and Serverless simplifies development but requires optimization of cold start problems.

The roles of HTML, CSS and JavaScript in web development are: 1. HTML defines the web page structure, 2. CSS controls the web page style, and 3. JavaScript adds dynamic behavior. Together, they build the framework, aesthetics and interactivity of modern websites.

The future of HTML is full of infinite possibilities. 1) New features and standards will include more semantic tags and the popularity of WebComponents. 2) The web design trend will continue to develop towards responsive and accessible design. 3) Performance optimization will improve the user experience through responsive image loading and lazy loading technologies.

The roles of HTML, CSS and JavaScript in web development are: HTML is responsible for content structure, CSS is responsible for style, and JavaScript is responsible for dynamic behavior. 1. HTML defines the web page structure and content through tags to ensure semantics. 2. CSS controls the web page style through selectors and attributes to make it beautiful and easy to read. 3. JavaScript controls web page behavior through scripts to achieve dynamic and interactive functions.

HTMLisnotaprogramminglanguage;itisamarkuplanguage.1)HTMLstructuresandformatswebcontentusingtags.2)ItworkswithCSSforstylingandJavaScriptforinteractivity,enhancingwebdevelopment.

HTML is the cornerstone of building web page structure. 1. HTML defines the content structure and semantics, and uses, etc. tags. 2. Provide semantic markers, such as, etc., to improve SEO effect. 3. To realize user interaction through tags, pay attention to form verification. 4. Use advanced elements such as, combined with JavaScript to achieve dynamic effects. 5. Common errors include unclosed labels and unquoted attribute values, and verification tools are required. 6. Optimization strategies include reducing HTTP requests, compressing HTML, using semantic tags, etc.

HTML is a language used to build web pages, defining web page structure and content through tags and attributes. 1) HTML organizes document structure through tags, such as,. 2) The browser parses HTML to build the DOM and renders the web page. 3) New features of HTML5, such as, enhance multimedia functions. 4) Common errors include unclosed labels and unquoted attribute values. 5) Optimization suggestions include using semantic tags and reducing file size.

WebdevelopmentreliesonHTML,CSS,andJavaScript:1)HTMLstructurescontent,2)CSSstylesit,and3)JavaScriptaddsinteractivity,formingthebasisofmodernwebexperiences.


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

Zend Studio 13.0.1
Powerful PHP integrated development environment

SublimeText3 English version
Recommended: Win version, supports code prompts!

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool