When working on a project, I found that Action obtains Chinese parameters in the jsp form. As long as the entire project uses UTF-8 encoding format, there will be no garbled code problem; however, JS is used in JSP and Chinese parameters are passed from J
Absolutely no pictures or other languages<html><head><title> css rounded corner effect</title><meta http-equiv=content-type content=text/html; charset=gb2312>
Everyone knows that we have their own suffixes every day, and different suffixes correspond to different document formats and different regulations, agreements, and usage. The most common suffix names are. HTML and .htm, there are common .shtml and .shtm
When using drawImage for canvas drawing, the pictures to be drawn are of different sizes and proportions, so like html+css layout, contain and cover are needed to meet different needs. contain scales the image so that the long side of the image is fully v
To achieve the effect as shown in the picture (falling leaves): html code:<!DOCTYPE html><html><head><title> HTML5 leaves falling animation</title><meta charset=utf-8>
In Javascript, the passed parameters can be modified within the function. Copy the code as follows: function func1(name) { name = 'lily'; alert(name); } func1('jack');//Output lily and see again An example
If you want to copy content to the clipboard through js, it is not difficult, but if you consider the compatibility of the browser, it becomes a bit troublesome. Using jquery-zclip copy is a good choice. Use flash to achieve browser compatibility. . I won
Create a date object: Copy the code as follows: var objDate=new Date([arguments list]); There are five parameter forms: 1) new Date("month dd,yyyy hh:mm:ss"); 2) new Date(
General ideas for picture delay technology 1. Now set the src path corresponding to the img element as the background picture, and the url path corresponding to the img is stored in a self-set attribute (for src replacement). 2. Get the height of the reel
I wrote a str ="s"++; then Nan appeared and looked for it for a while. Collect information as follows: 1. Judgment undefined: The copy code code is as follows: <span style="font-size: small;">var tmp = undefined; if</span>