首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > jQuery插件的用户输入的变化观察

jQuery插件的用户输入的变化观察

资 源 简 介

jQuery Form Observe Overview This plugin observes values of form elements. When end-user changes any values of input elements, observer shows which values were changed. And observer also alerts to users when they try to move out from the page before submitting changes. Usage You can add FormObserve plugin onto any form element. ``` $(document).ready(function(){ $("#MyForm").FormObserve(); }); ``` If you want to show users the changes, you can add the definition of class "changed". After changes have been completed (might be "onsubmit", "ajax complete" and so on), you should call FormObserve_save() method. $("#MyForm").submit(function(){ if(validation=="ok"){ $(this).FormObserve_save(); }}); Optio

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
0.261018s