Sets or gets the file name or path specified by the object.Window.location.pathnameExample: http://localhost:8086/topic/index?topicId=361alert (window.location.pathname); Then output:/topic/indexSets or gets the entire URL as a
One, micro-data is?The content of a page, such as people, events, or comments, is not only for the user to see, but also for the machine to recognize. At present, the degree of machine Intelligence is limited, in order to let it know the meaning of
Mvc:Model layers, view layers (views), control layer (Controller)
Model
: The data model, which is used to package data related to the business logic of the application or to process the data, and the models can access the data directly.
1. What is a cache?Caching is between a physical data source and an application, a container that is temporarily placed in memory for data in a database, and is designed to reduce the number of times an application accesses a physical data source,
Usually we store the session to memcached, but sometimes the boss lets you store the session to Redis, so it's important to know how to save the session to Redis.Redis extensions are required on STEP1 and servers (take PHP7 as an example)# to
Page push is the employee to open any page or specify a webpage, LAN inside will send a notice on the browsing page, this is the Internet management of additional gadgets, more convenient than the mailbox push. Easy for network management or
Each of the three traversal methods in jquery$.post ("Urladdr",{"Data": "Data"},function (data) {$.each (data, function (N,value) {});});1. Selector + traversal$ (' div '). each (function (i) {I is the index valueThis means get traversal of each DOM
The Boolean type is the most used type in ECMAScript, which has only two literals: true and false. These two values are not the same as numeric values, so true does not necessarily equal 1, and false does not necessarily equal 0. It is important to
There are two ways to bypass front-end verification: First, debug using developer tools, and second, using Burpsuite to crawl directly. Here are some ideas to solve:STAGE 1:for This exercise, your mission are to discover a coupon code to receive a
This article mainly introduces the open VSwitch-Virtual Switch overview, reading this article can have a general understanding of OvS (open VSwitch). So this article mainly answers the following questions:1. What is a virtual switch and what does it
PHP-FPM Optimization methodPHP-FPM exists in two ways, one is to directly open the specified number of PHP-FPM processes, no longer increase or decrease;The other is to start with a certain number of php-fpm processes, when the request is large,
AjaxSend a piece of data via AjaxDefine urls.py from Import URL from Import Admin from Import = [ url (r'^ajax_demo/', Views.ajax_demo),]Define views.py fromDjango.shortcutsImportRender fromDjango.shortcutsImportHttpResponse#Create your views
Row height = text size + line spacing;In general, the browser default line-height is 1.2. You can customize the Line-height override this initial value, then how to set line-height? There are 5 ways of doing this:
value
Implements an addition function, passing in 2 parameters, calculating the sum of the sums: 1. Create a new extension ./ext_skel --extname=hello 2.vi config.m4 Remove the following 3 lines at the beginning of the Dnl php_arg_ ENABLE
Enterprise-level website operation and maintenance costs are huge, for individual users can not bear, so change the thinking, I used Baidu statistics and 360 site monitoring.First of all, website monitoring:Website monitoring: The first can scan the
1. Get the jquery mobile file and visit the Jquerymobile website to download(jquery will automatically add some class classes to the Web page after using jquery Mobile, and the first time you know I'm scared!!) 2. Need to use data attributes, data
1. Get the name and version information of the browserIn jquery, the $.browser object can get the name and version information of the browser, such as $.browser.chrome to true, which means the current chrome browser, $. Broeser.mozilla is true,
1.documentDocument methodgetElementById (node) Returns a reference to the specified nodegetElementsByTagName (NodeList) Returns a collection of all matching elements in the documentQueryselector (node) Returns the first node that matches the
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