In fact, the principle is very simple. When we click it, we add a custom attr to the element, and a matching style will automatically adapt to the background. After a few seconds, the style will be removed and restored to its original state.
First,
In today's coding process, I found that there is a slight difference in the return value between the request submitted by the button and the direct ajax request.
View direct ajax
Ext.Ajax.request({url : "../UserSelectAllServlet",method :
General query advanced query:
Implemented functions:
Common query: query by time. Other times of the current month are displayed. By default, the current day and the current month are displayed.
Advanced query: The Add button and the delete
Formpanel can be used as follows:
Var panel = Ext. create ('ext. form. panel ', {title: 'simple Form', bodyPadding: 5, width: 350, // will be submitted to this URL through AJAX requests // url: 'save-Form. php', // form field Fields will be
This is the model.
Ext. regModel ('commemmodel', {fields: ['name', 'id']});
The default value for defining a container whose store id is s1 is the first quarter.
Var gjcx1 = new Ext. data. store ({autoLoad: true, model: commemModel, proxy: {
Today, I encountered a problem in the encoding process. I have not solved it yet. Record it first.
The above is my advanced query panel .. The field names and values are read from the configuration file. Different value lists are automatically
The first reference reminds me of a sentence: front-end research, research fart ~ Indeed. Supplementary downlink: front-end design, design a fart ~ The biggest dilemma of front-end is that, like HTML, whether you admit it or not, there is no need
DOM (document object moudle), document object Model. It is a language-neutral application interface (API) that allows the program to access and modify the structure, content, and style of the document. That is, all languages (js, php, etc.) are
There are five different versions of Internet Explorer 6, Internet Explorer 7, Internet Explorer 8, Internet Explorer 9, and Internet Explorer 10. But there is no way. To make the web page display the same in every browser, you must also accommodate
Bootstrap is a good thing. If you are not very familiar with CSS, you can use it to quickly create a website that is not ugly.
However, bootstrap is a 12-grid system. It shows that the five columns are quite troublesome. Today I just have this
E. stopPropagation () prevents event bubbles
The Code is as follows:
bubble event test
Let's first look at this Code:
The Code is as follows:
We can see the following situation: span alert-> td alert-> table alert. This is called
In May March this year, due to the company's business needs, I moved to the product department and left the TID team. People were emotional animals. What's more, I was reluctant to stay in a team for nearly three years, the ghost brother said,
Sometimes this is the case: getElementById, indexOf, charCodeAt, parseFloat, navigator. appName, navigator. appVersion/appCodeName/cookieEnable/userAgent give people the feeling that the first letter of a word is capitalized
Sometimes this is the
Doctype
1. Tell the browser what html or xhtml specifications are used to parse html documents
2. The rendering mode of the browser is affected.
Two rendering modes for parsing css in the browser: standard mode strict mode and quirks mode
This article now makes a summary of all the known jquery selectors. It is helpful for us to quickly write jquery! The following is a list of jquery's various options! Since jquery is very simple to use, I will not give examples to further understand
Today, I saw a question in the group about hexadecimal encoding, so I used JavaScript to write a small program for conversion. Remember: This is only encoding, not encryption!String to hexadecimal encoding:Copy codeThe Code is as follows:Str = "http:
Sometimes the number of columns in the table is too long, which is not conducive to user query. Therefore, a table page is created using JS. The following code is used:
I. JS Code
Copy codeThe Code is as follows:
Ii. HTML code
Copy codeThe Code is
First look at a piece of code:Copy codeThe Code is as follows:JQuery. fn. extend ({MyOwnMember: 3,GetMyOwnMember: function () {return this. myOwnMember ;},SetMyOwnMember: function (v) {this. myOwnMember = v; return this. myOwnMember ;}});$ ("Body").
Jquery MethodCopy codeThe Code is as follows:$ (Function (){// Calculate the total value of the personnel statistical table during page loadingCalcSum ();});// Calculates the total number of rows./*Aggregate behavior intermediate VariablesAdd each
Twproject Gantt isJQueryThe developed Gantt Chart component can also create other charts, such as the Task Tree ). Built-in editing, scaling, andCSSSkin and other functions. More importantly, it is free and open-source.Articles you may be interested
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