The Helper House (www.bkjia.com) provides an example of a JavaScript array. we store the text in the array and output the text in a loop, just like an announcement, however, this is not the case now. You can learn JS arrays as an example reference.
<Title> JavaScript Array text </title> <form> <table CELLSPACING = "0" CELLPADDING = "0" WIDTH = "420"> <tr> <td width = "100% "colspan =" 3 "valign =" top "> <div align =" center "> <textarea NAME =" teletype "ROWS =" 3 "COLS =" 49 "wrap =" yes "> </textarea> </td> </tr> <tr align =" center "> <td width =" 30% "bgcolor =" #127a0 "valign =" top "> <input TYPE =" text "value =" 3 in total "SIZE =" 5 "name =" 1 "> </td> <td width =" 30% "bgcolor = "# define A0" valign = "top"> <inpu T TYPE = "button" VALUE = "read" onClick = "nextMessage () "> </td> </tr> </table> </form> <br/> press" read "to start, and click" 2, 3 "until the end. <Br/> <center> If the page cannot be displayed, press Ctrl + F5 to refresh the page. For more webpage code: <a href = 'HTTP: // www.bkjia.com/'_ fcksavedurl = 'HTTP: // www.bkjia.com/'target =' _ blank '> http://www.bkjia.com/</a> </center>
Tip: the code can be modified before running!