wshatch/Toggleforms — Issue #1: Plugin shares options data with other instances on the same page
Author: wshatch
Created: 2012-03-05 02:54:05+00:00
State: open

If we have the following code on an html page
$(".toggle_forms").toggleForms();
$(".toggle_forms2").toggleForms({ajaxOptions:{ url:"post.php", method:"POST"});

All objects with the toggle_forms and toggle_forms2 will share the ajaxOptions.