Learn about udacity front end nanodegree review, we have the largest and most updated udacity front end nanodegree review information on alibabacloud.com
Front-end framework EasyUI (0) Review (preface) and easyui Review
A few years ago, I participated in a project. It is a small information management system with BS structure. The front-end uses the EasyUI framework based on jQuery
Recently reviewed the basics of the front-end, write a note to facilitate the review again.
1. Delay Script: Add defer property, the script will be delayed until the entire page is resolved after the operation. The Defer property is used only for external script files.
2. Asynchronous script: Add Async property, only for external script files, similar to defer
milliseconds to execute an expression. * SetTimeout ("Change ()", 5000);method to clear the timing clearinterval ();(1) clearinterval (id_of_setinterval)var int=self.setinterval ("Clock ()", 50)Window.clearinterval (int);(2) cleartimeout ();Cleartimeout (settimeout_variable)T=settimeout ("Timedcount ()", 1000)Cleartimeout (t)Navigator: Browser ObjectScreens: Screen ObjectsHistory: Historical object Go (); Load a specific page in the history listLocation: Path Object href: Sets or returns the fu
Review front-end Basics related knowledgeCtrl+tab Switching documentsCtrl+tab Switching programsALT+F4 Closing the programF2 renamingF5 Refresh PageWindows+d Display DesktopWindows+e Open Explorer——————The browser sends the past, is the request message,The information returned by the server is the response message.The data on the page that we requested should exi
JAVASCRIPT spreadsheet and Grid feature control that provides complete formula engine, sorting, filtering, input controls, data visualization, Excel Import/export, and more for. NET, Java and mobile terminal, such as online editing of Excel functions of the table program development.This article is the first in the 2017 JavaScript Framework review, followed by React Eco-environment introduction and back-end
", data: {"Imgstr": Canvas.todataurl ("Image/jpeg", 0.9). Split (', ') [1]}, Success:function(data) {Console.log (data); $(". Showpic"). Show (). attr (' Data-url ', "/" +Data.url); } }); } }1. The first is to use the input file information, determine the file size file.size, and whether the file is a picture File.type2. Obtain the Base64 data of this image via the HTML5 FileReader interface.3. Pass this base64 into the canvas as a src of a graph, this time can set the resol
=function () {}Blur Lost Focus Event:$ ("selector"). Blur=function () {}Submit a form event:$ ("selector"). Submit=function () {} Note that you must return false to prevent the form from being submitted 10.Jquery Trigger EventTrigger ():Description: Triggers the specified event $ ("#input") using jquery. Trigger ("focus"), triggering the focus event of the Id=input input, which executes the browser default behaviorTriggerhandler ():Description: Triggers the specified event $ ("#input") using jqu
1. Clear FloatThe parent box has a height of 0 and the child box is positioned and Floated. The box will not open up the parent boxClear Method:clear:both;overflow:hidden;Add Empty LabelSingle/double{ content:"."; didsplay:table;} . fixclear:after{ clear:both; } . Fixclear { *zoom:1; }//single label. Fixclear:after { content:"0"; Display:block; height:0; ling-height:0; visibility:hidden; Clear:both;} . fixclear{ *zoom:1; Compatible with
connection.Keep-alive does not permanently keep the connection, it has a hold time that can be set in different server software (such as Apache).Five, some other common response header supplement.These headers will cause the browser not to cache.Expires:-1;Cache-control:no-cache;Pragma:no-cache;Features refresh, automatically jumps to http://www.baidu.com after 3 seconds.#Refresh #: Time; url=http://www.baidu.comThese response headers can be customized in HTML!!You can use the HTML page to spec
throw a error when a filter hasn ' t implemented? Should able to use double repeat utils? Should find a element? Should able to copy a arrays use slice? Should able check contains? Should able to set and get data? Should able to add Remove event? Should able to exTend objects? Should able to extend from multiple srouces? Should able to add Remove class? Should able to check a objectfinished in 2.447 secs/2.318 secssummary:? Tests completedIn this composition, Karma automatically launches and
default.type= The CheckBox Check button:Checked: The radio button is selected by default.Value: The default value of the radio button.Name: The names of the form elements. You must have the name attribute before the background can receive data.Type= ' Submit ' submit buttontype= "Reset" reset buttonType= "button"type= form items uploaded by "file" filesType= "hidden" hidden fieldsType= "Image" image buttonName: the names of the form elements. You must have the name attribute before the backgrou
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.