FF Firebug, not only can test JS can also check CSS errors, is generally used.But it is mainly to check the FF error, IE is powerless.To test IE, use ietester, it can test almost all versions of IE (1.0 I'm afraid it won't be tested), usage is also
How to set the checkbox check box to read-only and the checkbox check box to read-only
How to set the checkbox check box to read-only:The check box checkbox does not have the readOnly attribute, but if it is set to unavailable, that is, its
Javascript prohibits right-click pages (simple sample code ). For more information, see.
Code for disabling right-click in js:
The Code is as follows:
Function click (e ){If (document. all ){If (event. button = 1 | event. button = 2 | event.
The code of the Image Upload local preview function can be searched on the Internet, but it is more compatible with browsers. This article provides a good example. If you are interested, refer
I. Local preview of image uploading
Most of the Image
Native javascript compatibility: currentStyle, scrollTop, event, and bound event IE binding events are attachEventdetachEvent compatibility test instances. If you are interested, refer to section 1. get the width, border color and other css (not
This article describes in detail the events that have been loaded to a favorite page, binding and anti-binding event listeners, event triggers, and interactive processing of events. For more information, see, hope to help you
1. RESPONSE event after
Refer to jquery. if you want to introduce all functions of Jquery, refer to jquery-uiand jquery-ui.css. The specific implementation steps are as follows. If you are interested, refer to the following. Note: Jquery needs to be introduced.
If the
ArtDialog
ArtDialogIt is a lightweight and highly compatible javascript dialog box component that gives your webpage interaction a desktop software-like user experience.
Demo address: http://www.planeart.cn/downs/artDialog/
Project home:
This article mainly introduces how to use JQuery to quickly implement AJAX dynamic loading of tabs (for example ).
The implementation process is as follows:
1. Find the link source. Here is a string of links under Li.
2. Processing styles
3.
This article provides a summary of several methods to prohibit page content copying by using javascript and CSS. It is very practical. If you need it, you can refer to it. Method 1:
// Disable right-click menu, copy, and select $ (document). bind (
JQuery event binding and delegation, jquery event binding
Binding and delegation of jQuery eventsIt can be implemented in multiple ways: on (), bind (), live (), delegate (), and one ().
Sometimes we may bind an event as follows:Js Code
$ ("#
15 jQuery plug-ins that help you implement responsive navigation and 15 jquery
For most of us, the most difficult aspect of building a responsible layout is the implementation of planning and navigation. Because there are no universal solutions that
Iframe extension of jquery. boxy plug-in
The Code is as follows:
/* The w, h, and src attributes remain unchanged for the Boxy attribute.QBox. Close (); Close the current windowQBox. iFSrc ({}); changing the properties of the current window and
The first parameter of most methods receives a function and is called once for each element of the array. If it is a sparse array, the passed function is not called on elements that do not exist. In most cases, calling the supplied function uses
1, ajaxupload upload pluginThe browser forces us to upload using the file input control (), but the style of this control cannot be modified. In addition, form-based uploads appear obsolete in the face of popular AJAX applications. We can use Flash
What this article brings to you is to use javascript combined with jQuery to implement the function of returning to the top, and attach the source code to give it to you. Take away the required shoes directly. Today, we have developed a js jq
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.