Forum domain name is: forum.web.net (virtual)
Website domain name is: www.web.net (virtual too)
First Use administrator account to enter the forum background in the basic settings, set the authentication cookie domain: to. web.net
After the forum is
There are about 4 places where there are garbled characters:
1, the file encoding method (that is, you create a new file encoding), this need to set the editor to encode the way.
2, the page does not specify the browser encoding display mode,
I am not too familiar with the background, so here made the user input parameters to simulate the process of reading parameters from the background.
Copy Code code as follows:
User Level
online time: the
Such as:
var a=[1,5,3,7];
A.sort (function (A, b) {return b-a});//from large to small arrangement
So if the order of the complex points should be how to write the comparison function.
For comparison function f (a,b) {...}, if a positive number is
The difference between D () and M () methods:
The difference between D and M is mainlyThe M method does not need to create the model class file, and the M method does not read the model class, so automatic validation is invalid by default, but can
jquery has a handy delegate (event delegation) feature that allows you to bind an event handler to current and future (dynamically added) elements.
For example, after dynamically adding an input text box, I want all text boxes (whether or not
The effect below can only be seen under IE6.
to judge IE version and give prompts to upgrade browser You are using Internet Explorer 6, the display effect on this page may be different.
It is recommended that you upgrade to Internet
Believe that users who have used thinkphp know thinkphp model can complete a lot of auxiliary functions, such as automatic verification, automatic completion, and so on, today in the development of the automatic completion of the need to get the
As we all know, jquery is currently the most popular JS package, simplifying a lot of complex JS program, jquery browser DOM tree defined as $, through $ to get each child nodes.
Then, the JS plug-in is not only jquery, there are prototype.js and
Copy Code code as follows:
$ (function () {
$ ("#menu Li:first"). Click (function () {
$ (this). addclass ("B");
});
$ ("#menu li:last"). Text ("last");//id insert Text "Last" for the last Li element in the Li List of menu
$ ("#menu
Yellow exclamation point (conflict):This is a conflict, the conflict is that you have modified a file, others have made changes to the file, others rob before you submit before submitting, then you will be prompted to submit a conflict, and do not
1. Right-click on the conflict file----edit conflicts-----and then manually modify the file conflict red place, other places can not be used.
2. Save after modification. Keep both local and svn files in place.
3. Click the right button on the
Because the beginning does not understand jquery, always want to use Jquery.load method load new page, in order to achieve local refresh, the results found in the page loaded in with the original separate page is not the same, the style is gone, and
Copy Code code as follows:
The following is a combination of jquery code, the principle is the sameWhen you use JavaScript to bulk bind elements on a page and pass increment numbering, you need to write the following:
Other JavaScript frameworks include: MooTools, Backbone, Sammy, cappuccino, Knockout, JavaScript MVC, Google Web Toolkit, Google Closure, Ember, Batman and Ext JS.
Some of these frameworks also use the $ notation as shorthand (like jQuery), which
JQuery Sliding method
With JQuery, you can create a sliding effect on an element.
JQuery has the following sliding methods:
Slidedown () sliding down element
Slideup () Slide the element up
Slidetoggle () Toggles between the Slidedown () and
Wampserver is a very wide application of PHP integrated development environment, this article is about the Wamp after the installation of custom configuration methods. For reference. Specifically as follows:
After the wamp2.5 is installed, you
Such as:
Copy Code code as follows:
Sometimes, the page refers to the JS file will be more, if the page layout of the neat points, once the layout of a slightly irregular, then the entire page appears
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