19 JavaScript Rich Text editors. You may also be interested in viewing 15 Web-based HTML editors and 6 WYSIWYG online web editors. 1. Aie (Demo address)
Aie is an open-source Ajax image editor developed based on extjs and PHP
Step 1: Use the style sheet.
Step 2 Use JS scripts.
You can use a style sheet (style = "ime-mode: Disabled") to prevent switching to a Chinese character input method. That is to say, you can only use an English input method. This prevents
I. frame1. the reference from the parent framework to the Child Framework knows the above principle, and it is very easy to reference the child framework from the parent framework, that is, window. frames ["framename. If you want to reference the
SetTimeout (expression, delay time) is used to execute an expression after the specified delay time after loading. The number of times is one.Setinterval (expression, interaction time) is different. It executes the expression at a specified time
Javascript Chinese comments
{# Timeline }{# posttime}
If Chinese comments are used in the JavaScript (. js file) referenced on the HTML page, the problem is normal.However, if no encoding is specified when the page is changed to JSP or
In this chapter, we will analyze the implementation of JavaScript inheritance in prototypejs. Prototypejs is the earliest JavaScript class library. It can be said that it is the originator of the Javascript class library. This is the first
In JavaScript, three common window methods are alert (), confirm () and prompt (). alert () is used to display messages to users. Confirm () requires users to click OK or cancel to confirm and cancel a certain operation. For example:
The prompt
. Net regular expressions and JavaScript Regular Expressions are a little different. Javascript uses the Perl syntax while. net uses the C # syntax, which must be distinguished by 2.1.
In JavaScript, regular expressions are represented by a Regexp
Regardless of the version, ie is always incompatible with web standards. ForCodeFor workers, it is naturally miserable. In order to consider the compatibility of IE, whether it is CSS or JS, it is often necessary to treat ie specially, which makes
In JavaScript, functions and objects are intertwined. Some functions are associated with objects. This is discussed in Part 6.This section mainly discusses the differences between functions and other familiar languages (such as C/C ++ ).
5.1
Method 1: I personally think the best method. the regular expression is used, which is the core principle. second. this method uses the prototype attribute of JavaScript. In fact, you can use a function to implement it without using this attribute.
As we all know, JavaScript does not support binary files and data. The traditional approach is to convert a binary file into a character, and then convert the corresponding string into a number in a browser using some techniques (the traditional
Object-oriented language requires three basic features: inheritance, polymorphism, and encapsulation and aggregation ). Like java and C ++, ecmascript is considered object-oriented because it supports these features at the same time.
Code
Sorting is to sort records in files in ascending (or descending) Order of keywords. The exact definition is as follows:Input: N records R1, R2 ,..., RN, whose corresponding keywords are K1, K2 ,..., KN.Output: RIL, ri2 ,..., So that ki1 is less than
In a Web application, a message must be displayed when some operations take a long time, prompting the user to wait. The following code is a simple javascript example. Of course, it is not a real progress bar.
Put a Label, a Button,
Then add the
Many new users may encounter problems when using Javascript to verify whether single-dataset (radio) in a form is selected, because radio is very different from a common text box in obtaining values, this article describes a more common method to
When editing content online, those JavaScript-based editors helped us a lot. These WYSIWYG editors provide us with a similar Office operation experience. Today, any website Content Management System (CMS) and blog system need such an editor. This
This is the second part of the Weekly Guide to JavaScript. We will continue to share with you the latest JavaScript key information, technical articles, development tool resources, and various new development frameworks, allows JavaScript developers
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service