File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 11
11
var t1 ;
12
12
13
13
$ ( "#start" ) . click ( function ( ) {
14
- t1 = window . setInterval ( "loadf()" , 100 ) ;
14
+ t1 = window . setInterval ( "loadf()" , parseInt ( $ ( "#num" . value ) ) ) ;
15
15
//$("#njlzframe").attr('src', $("#njlzframe").attr('src'));
16
16
} ) ;
17
17
$ ( "#end" ) . click ( function ( ) {
23
23
</ script >
24
24
</ head >
25
25
< body >
26
- < input type ="button " id ="start " value ="开始 " width ="20px " height ="40px "> </ input >
27
- < input type ="button " id ="end " value ="停止 " width ="20px " height ="40px "> </ input >
26
+ < input id ="num " width ="100px "> </ input > < br />
27
+ < input type ="button " id ="start " value ="开始 "> </ input >
28
+ < input type ="button " id ="end " value ="停止 "> </ input >
28
29
< br />
29
30
< iframe id ="njlzframe "
30
31
src ="http://www.njlz.net/X_Views_Article.asp?articleid=3786&sortid=36 "
You can’t perform that action at this time.
0 commit comments