WorldWideScripts.net Delivering the best Add-Ons in more than 37 languages.

中文(简体), English, हिन्दी/हिंदी, Español/Castellano, العربية, Русский язык, Français, 中文 (台灣), বাংলা, Bahasa Indonesia, اردو, Português, Deutsch, Bahasa Melayu (بهاس ملايو‎), 日本語 (にほんご), فارسی, Italiano, తెలుగు, Türkçe, ગુજરાતી, Język polski/polszczyzna, Tiếng Việt, ಕನ್ನಡ, Українська мова, ไทย
JavaScript / Forms

Selective enable/disable form elements with jQuery

— Add-On to WorldWideScripts.net

Subscribe to our feed to stay up to date!

New! Follow us as you want it!


Selective enable/disable form elements with jQuery - CodeCanyon Item for Sale

Ads

Ad: Bluehost hosting

jQuery Foggle is a plugin that lets you interact with various form elements based on user-input. It lets you choose which elements to enable (or disable) while the user fills out the form.

While you can achieve the same functionality by writing some amount of JavaScript for each such field, this plug-in makes it a breeze. It takes only two parameters and does the same for you in just one line of code. :-)

v2 changelog

  1. Checkbox issue fixed.
  2. Works with select elements
Check out a demo at http://lab.abhisekdutta.in/foggle/

Please note that it’s a jQuery plugin and it adds functionality only on the form elements. The demo app is for showing how it works. It doesn’t handle any server side interactions (although, it can be customised to handle them).


Download
Other components in this categoryAll components of this author
CommentsFrequently asked questions and answers

Properties

Created:
24 January 11

Last Update:
27 January 11

Compatible Browsers:
IE6, IE7, IE8, IE9, Firefox, Safari, Opera, Chrome

Files Included:
JavaScript JS, HTML, CSS

Software Version:
jQuery

Keywords

eCommerce, eCommerce, All Items, form, form validation, jquery, jquery plugin, user defined, user friendly, user interface