开发者

Hide & show a widget using Jquery

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜