| Function Name |
Explanation |
Example |
| Element. Toggle |
Hide or show Alternately |
Element. Toggle (''div1 '', ''div2 '') |
| Element. Hide |
Hide |
Element. Hide (''div1 '', ''div2 '') |
| Element. Show |
Display |
Element. Show (''div1 '', ''div2 '') |
| Element. Remove |
Delete |
Element. Remove (''div1 '', ''div2 '') |
| Element. getheight |
Gain height |
Element. getheight (''div1 '') |
| Toggle. Display |
Same as element. Toggle |
Toggle. Display (''div1 '', ''div2 '') |
| Insertion. Before |
Insert text in front of Div |
Insertion. Before (''div1 '', ''my content '') |
| Insertion. After |
Insert text behind the DIV |
Insertion. After (''div1 '', ''my content '') |
| Insertion. Top |
Insert text at the beginning of the DIV |
Insertion. Top (''did'', ''this is a text '') |
| Insertion. Bottom |
Insert text at the end of the DIV |
Insertion. Bottom (''did'', ''this is a text '') |
| Periodicalexecuter |
Call a javascript code at a given frequency |
Peridicalexecutor (test, 1) "test is a JavaScript function, and 1 is the frequency (1 second ). |
| $ |
Get a DIV, which is equivalent to getelementbyid () |
$(''Div1 '') |
| Field. Clear |
Clear an input box |
Field. Clear (''textfield1 '') |
| Field. Focus |
Focus on the input box |
Field. Focus (''select1 '') |
| Field. Present |
Determine whether the content is empty |
Alert (field. Present (''textfield1 ''))" |
| Field. Select |
Select the content in the input box |
Field. Select (''textfield1 '')" |
| Field. Activate |
Focus on the input box and select the content in the input box. |
Field. Activate (''textfield1 '')" |
| Form. serialize |
Convert table content to string |
|
| Form. getelements |
Retrieve the table content in array format |
|
| Form. Disable |
Disable table content |
Form. Disable (''form1 '') (this does not seem to work) |
| Form. focusfirstelement |
Focus on the first element of the table |
Form. focusfirstelement (''form1 '') |
| Form. Reset |
Reset table |
Form. Reset (''form1 '') |
| Form. element. getvalue |
Get the value of the table input box |
Form. element. getvalue (''text1 '') |
| Form. element. serialize |
Convert the input box content in the table to string |
Form. element. serialize (''text1 '') |
| $ F |
Equivalent to form. element. getvalue () |
$ F (''text1 '') |
| Effect. Highlight |
Highlight special effects. |
Effect. Highlight (''text1 '') |
| Effect. Fade |
Fade Effect |
|
| Effect. Scale |
Zoom in/out (percentage) |
Effect. Scale (''text1', 200) Here 200 = 200%, double |
| Effect. Squish |
Disappear special effect. The text disappears after being zoomed out. |
Effect. Squish (''text1 '') |
| Effect. Puff |
Disappear special effect. After the text is zoomed in, it disappears. |
Effect. Puff (''text1 '') |
| Effect. appear |
Special effects |
|
| Effect. contentzoom |
Zoom effect. |
|
| Ajax. Request |
Send Ajax requests to the server |
Ajax. Request (''http: // server/S. php '') |
| Ajax. Updater |
Send an Ajax request to the server and update the specified iner with the response result. |
Ajax. Updater (''text1', ''http: // server/S. php '') |