2011-04-30 22:03
浏览 63


I have a multi-part form that will use PHP for the server side database insertion. The form needs to be validated, and I intend to use JQuery Validate to display one icon if the section validates, and another if the section does not.

I'm aware of the use of collapsible panels or DIVs. However, I need to use this same collapsible effect inside my form. How can this be achieved either via JQuery or another client side library?

Thanks much!!

图片转代码服务由CSDN问答提供 功能建议

我有一个多部分表单,它将使用PHP进行服务器端数据库插入。 表单需要验证,我打算使用JQuery Validate在部分验证时显示一个图标,如果部分不验证则使用另一个图标。

我知道使用 可折叠面板或DIV。 但是,我需要在表单中使用相同的可折叠效果。 如何通过JQuery或其他客户端库实现这一目标?


  • 写回答
  • 好问题 提建议
  • 追加酬金
  • 关注问题
  • 收藏
  • 邀请回答

3条回答 默认 最新

  • dourui9570 2011-04-30 22:13

    Since you're at the point to decide what framework to use you may check the collapsible forms by ExtJS framework, it may give you some initial idea.


    @SidC: OK, if you're going with JQuery, you'll better not to mess up with Ext. Don't see much pain to implement if from zero using JQuery::Accordion plugin plus the JQuery::DIALOG. And check this feed

    JQuery Accordion: how to embedded it into a dialog box?

    解决 无用
    打赏 举报

相关推荐 更多相似问题