Change (fn)
Bind a handler to the change event of each matching element.
The change event is triggered when the element loses focus, or when its value changes after the element gets focus.
<! DOCTYPE html PUBLIC "-// W3C // dtd xhtml 1.0 Transitional // EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <ptml xmlns = "http://www.w3.org/1999/xhtml"> <pead> <meta http-equiv =" content-Type "content =" text/html; charset = UTF-8 "/> <title> pride </title> <style> p {line-height: 23px; margin: 0; padding: 0 ;} </style> </pead> <body> <label for = "fontsize"> font size </label> <select name = "" id = "fontsize"> <opt Ion value = "12px"> smaller </option> <option value = "14px"> </option> <option value = "16px"> medium </option> <option value = "18px"> large </option> <option value = "24px"> large </option> </select> <label for = "backgoundcolor"> background color </label> <select name = "" id = "backgoundcolor"> <option value = "# F4FBFF"> default </option> <option value = "gray"> light gray </option> <option value = "red"> red </option> <option value = "green"> green </option> <option value =" Yellow "> yellow </option> </select> <label for =" fontcolor "> font color </label> <select id =" fontcolor "> <option value = "# 000 "> black </option> <option value =" # f00 "> Red </option> <option value =" #060 "> green </option> <option value = "# 00f"> blue </option> <option value = "#600"> brown </option> </select> <label> spring, spring, and moon nights <p>, the moon in the sea is flourishing. There are thousands of miles in spring, and there is no moon in spring. </P> <p> the river flows around fangdian, and the flowers and forests in the moonlight are similar. The water in the air could not fly, but the white sand on Ting could not be seen. </P> <p> Jiang tianyao is transparent, and the moon wheel is solitary in the air. Who saw the first month on the bank? Who took the photo at the beginning of Jiang Yue? </P> <p> the generation and generation of life are infinite, and the year of jiangyue is only similar. I don't know who jiangyue is waiting for, but see the Yangtze River. </P> <p> when the white clouds go leisurely, Qingfeng is always worried. Who is the boat tonight? Where is Acacia Mingyue building? </P> <p> poor upstairs, the moon lingers, should be taken away from the human makeup mirror. The yowu curtain is not rolled in. </P> <p> at this time, I hope you will see each other. The flying sky of Hongyan is not good, and the fish, dragon, and diving are written. </P> <p> last night, the idle pool of dreams fell into the flowers, poor half of the spring. The river flow is about to go spring, and the lake falls into the east and west. </P> <p> the oblique moon covers the fog in the hidden sea, and the infinite roads in the Xiangxiang region of Xiaoshi. I don't know how many people will return in the month. </P> </body> </ptml>
[Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]