Layui form realizes code

Example of this article shared the specific code of the Layui basic form for everyone, for the reference, the specific content is as follows

           Default Table 
Character National Yinxin Han 1989-10-14 Yue Fei 1103 - Northern Song Dynasty Chongning Second Years Textbooks Change, also wipe the "national hero" facts Menci Huaxia (Han) 】 BC - 372 , the strong, the country is strong. Guoqiang, it is stronger! 心
Opening time Motto
Han 1920-09-30 The person who meets you have encountered in thousands of people, in the end of thousands of years, the endless wilderness ...
Helen Keller Latin American 1880-06-27 Life is Either a daring advuture or nothing.
Han nationality
Ring frame table
Outstanding time Motto
1989-10-14
Life is like practice
Zhang Ailing Han nationality 1920-09-30 In 10 million people met the people you met, in thousands of years, the time of the endless land ... Helen Keller Latin American 1880-06-27 Life is Either AD Yue Fei Han nationality 1103 - Northern Song Dynasty Chongning Second Years Texture Books have changed, Facts that don't go to the "National Hero" Menci Huaxia (Han) BC - 372 It is strong, but also national strength. Guoqiang, it is stronger! Opening time 1989-10-14 Life is like practice Han 1920-09-30 In 10 million people met the people you met, in thousands of years, the time of the endless wilderness ...
Column Box Table
Motto
Latin American
1880-06-27 Life is Either a daring advositure or nothing. 1103 - Northern Song Dynasty Chongning Second Years Strong, the country is strong. Guoqiang, it is stronger! Blessing table Opening time Motto 心 Han 1880-06-27 Life is Either a daring adventure or nothing. Yue Fei Han 1103 - Northern Song Dynasty Chongning Second Years
The textbook is negative, and it will not go to the "national hero" Fact Menci Huaxia (Han) BC - 372
1989-10-14 Life is like practice
1920-09-30 In 10 million people met the people you met, in thousands of years, the time of the endless wilderness ...
The textbook is referegnamed, and the fact that the "national hero" is not "
Mencius Huaxia (Han) BC - 372 Strong, the country is strong. Guoqiang, it is stronger! Layui.Use ('form', function () {var $ = layui.jquery, form = layui.form (); // Buy Form.on ('CheckBox (Allchoose)', Function (DATA) {var child = $ (DATA.ELEM) .Parents ('Table'). Find ('TBODY INPUT [Type = "CheckBox"]'); Child.each (ITEX, ITEM) {item.checked = data.em.checked;}); Form.Render ('checkbox');});}); The official website form
© Copyright Notice
THE END
Just support it if you like
like0
share
comment Grab the couch

Please log in to comment

The above is all the content of this article, I hope that everyone's learning is helpful, I hope everyone will Support TUMI cloud.