To delete a post or lock a post, you must enter the reason for rejection, share a window, and bind a button to a different event:Title = 'delete a post (blocked or not displayed )';Copy codeThe Code is as follows:$ ('# Btn_ OK', '# div_deny_reason').
Copy codeThe Code is as follows:// The same timestamp Formatting Function as PHP// @ Param {string} format// @ Param {int} timestamp the time to be formatted is the current time by default// @ Return {string} the formatted time stringFunction date
Get iframe Dom element using Jquery
Test Page code:
Jquery-based access to the dom element of the iframe page
Obtain the content of the test element on the iframe page
Test.html Page code
Iframepage a.html
Test
Click test
JS does not have a standard multi-line string representation method, but when using a template, to ensure the readability of the template, We can inevitably use multi-line strings, so there are various ideas. Here we take a jade template as an
I. I wonder if everyone is just like me. I had a dream at the beginning. Learning programming is to develop games. After entering the University study, I learned how to develop database applications! Here, I will share with you a few small games in
[Javascript] Javascript: webpage visible area width: document. body. clientWidth: the visible area of the webpage is high: document. body. visible area width of clientHeight webpage: document. body. offsetWidth (including the width of the edge)
In terms of inheritance, js is still weak. It is found that constructor and initialize are divided during inheritance. The relationship between the two is not described in online articles. After reading the source code, we can see the difference
Introduction recently, LZ is still in the third chapter of the digest system principle. Therefore, LZ intends to settle down and write it again. This LZ will discuss some front-end content with you. In fact, for jquery, LZ wrote a simple source code
Flexigrid is a lightweight jQuery table plug-in with a small size. The compressed JavaScript and css source code is less than 40 kb and is easy to use. However, simplicity usually means the lack of some advanced functions. Fortunately, its source
In JavaScript, there are two ways to set latency (timedelay ). The first method is very simple. This method will wait for the set duration before running the function code. The second method is the same, but it will repeatedly run the function code.
When a user fails to access the web service, it must be excellent to obtain the user's system configuration information. Our usual practice is to run some programs on the user's machine to obtain the user's system information. For general web pages,
A strongly-typed language like Java, c & amp; 43; & amp; 43; type is a template of all objects. Data and operations can be described (encapsulated) through type definition. As needed, types can be extended, inherited, and mutations, greatly
The JQuery object in the JQuery object set is different from the DOM object. The JQuery object can be the DOM object encapsulation, but the JQuery object is not just the DOM object encapsulation, it can also represent its custom objects. Why do we
JavaScript is a loose language, which may cause more trouble. For example
JavaScript is a loose language, which may cause more trouble. For example, the definition and use of JavaScript arrays are too flexible and sometimes confusing. Next we will
Fade-in and fade-out effects are often used in daily projects. Unfortunately, native JS does not have similar methods, and sometimes small pages and
Script window. onload = function () {// var iBase = {Id: function (name) {return document.
More examples the second recursive example is to find the maximum common divisor of two natural numbers (whether it has returned to the nostalgic middle school era ). The following program uses the Classic Division of the moving phase. [Javascript] /
As a programmer, you may have been used to the reference (or pointer) of the current object in object-oriented language ),
As a programmer, you may have been used to the reference (or pointer) of the current object in object-oriented language, such
I have read a lot of information about the JavaScript closure (closure) on the Internet, most of which are written
I have read a lot of information about JavaScript closures on the Internet, most of which are very academic and professional. For
From today on, all I have to do is to constantly update and constantly disclose and fix the ExtJS34 BUG. Note that the version is 34 rather than 40, because the 40 changes and changes are relatively large, so do not block the number. Hey, I am not
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.