As shown in figure, it will show you when I click ok 'digital', but I haven't the input box, and determine the button why ah? How to change?
CodePudding user response:
Digital DaChu came, but the input box, and button disappeared,This is the source code
<meta charset="utf-8" & gt;
<body>
<script>
Var v
The function count () {
V=document. GetElementById (" v "). The value;
if(! The isNaN (v))
for(i=1; i
Document. Write (" & amp; NBSP ")
For (j=I; j> 1; J -)
Document. The write (j)
for(j=1; j<=I; J++)
Document. The write (j)
Document. Write (" & lt; Br>" )
}
For (I=v; I>=1; I -) {
for(j=1; j<82 - I * 2; J++)
Document. Write (" & amp; NBSP ")
For (j=I; j> 1; J -)
Document. The write (j)
for(j=1; j<=I; J++)
Document. The write (j)
Document. Write (" & lt; Br>" )
}
}
</script>