国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

python - flask如何根據(jù)RadioField的值隱藏某個StringField
高洛峰
高洛峰 2017-04-18 09:03:38
0
2
666

有表單:

       method = RadioField('method', choices=[(1,'GET'),(2,'POST')],default=1)

       data = StringField('data')

如何根據(jù)RadioField 隱藏或者顯示data,比如get時隱藏,post時顯示

views中的index.html 使用flask-bootstrap,是直接{{ wtf.quick_form(form) }}

需要怎么改造?

高洛峰
高洛峰

擁有18年軟件開發(fā)和IT教學(xué)經(jīng)驗。曾任多家上市公司技術(shù)總監(jiān)、架構(gòu)師、項目經(jīng)理、高級軟件工程師等職務(wù)。 網(wǎng)絡(luò)人氣名人講師,...

reply all(2)
伊謝爾倫

You can control this using js on the front end.

小葫蘆

This can only be controlled by JS and belongs to the front end

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template