开发者

Hide & show a widget using Jquery

开发者 https://www.devze.com 2023-03-13 15:00 出处:网络
In my form created with symfony 1.4, I have a sfWidgetFormDoctrineChoice in which I choose one of options, I want to hide some field & show them un开发者_StackOverflow社区til my choice was token.m

In my form created with symfony 1.4, I have a sfWidgetFormDoctrineChoice in which I choose one of options, I want to hide some field & show them un开发者_StackOverflow社区til my choice was token.


maybe u should write this code: $('#model_id_table').closest("td").find('label').hide();

*td if your widget is set in table,u can use any other tag.


Maybe you have problems with widget's name.

So, Visit this Link for more informations : http://api.jquery.com/hide/

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号