In the JS video of instructor Niu Yu, the example in the video requires that the result of multiplying 23 3 is achieved. When using Dreamweaver ,,
<Script language = "JavaScript" type = "text/JavaScript"> // The initial cyclic value var I = 1; var jieguo = 1; while (I <= 23) {// The javascript statement jieguo * = 3; I + = 1;} alert ("the result of multiplying 23 3 is:" + jieguo); </SCRIPT>
The results are easy to come out,
Later, I tried how fast the computer was processing, and the system was still unresponsive for half a day,
<Script language = "JavaScript" type = "text/JavaScript"> // The initial cyclic value var I = 1; var jieguo = 1; while (I <= 1111111111111) {// The javascript statement jieguo * = 3; I + = 1;} alert ("the result of multiplying 1111111111111 three is:" + jieguo); </SCRIPT>
Then I want to change the value to 23. When I click Save, the problem occurs.
Sharing violation. In simple terms, illegal sharing may result in the upper limit of the number of online users.
Cause: Call a file or program. One end is not finished, and the other end tries to update and save the data.
Solution:
I. Because we often directly upload the edited webpage files, sometimes there will be a sharing violation and it cannot be saved. In the past, this problem was solved by renaming and saving, which is not necessary. The reason is that each time a file is updated, files are stored in the FTP upload list. You can find a solution to this problem on the Internet by clearing the corresponding files in the upload list and saving them. Or close all applications except Dreamweaver (including FTP software)
Ii. Close the browser for previewing the web page, and save the web page and browse the Web page.
This part of knowledge is good and fun. Come on!