question: What is the ability of JS to speak such a language? (Running platform)
A: Now the JS language can be run in the browser (js If it is running on the browser can not operate the disk file), you can also run NodeJs on the server side ( JS can manipulate files on the server side).
question:JS is able to manipulate the file (generally not),Ajax can manipulate files (generally not)?
For:
A. js generally can not, but in the case of the situation, if it is on the server side, you can operate. If it is on the browser side, it cannot be manipulated directly, but it can manipulate cookie small files.
B. Ajax generally cannot manipulate files, but in the latest Ajax level2(formData object) Standard, the interface for manipulating files is provided, You can manipulate the file directly. To do real Ajax without refreshing upload files ( previously did not use Ajax to do no flush upload files using iframe nesting technology, can also be called the most primitive Ajax).
Answer:Jscan operateCookies. Cookiestechnology that belongs to the browser side. Cookiesis also the data, the data is stored somewhere (the client's computer somewhere, the browser tube)Cookiesthe number and size of these are strictly limited (4keach) But there is currently a client presence localstorage Local Database technology (limitations, only in modern browsers using the Web browser IE low version not supported) 。
Question 1:js What is the ability to speak such a language? (Run platform) problem 2:js whether the ability to manipulate files (generally not), Ajax can manipulate files (generally not)?