sintonia/public/js/airtime/preferences/preferences.js
naomiaro 9bd1aa14a9 CC-2145 : Redesign & layout fixes for the Preferences screen
added javascript to page, got rid of separate index/update actions and moved everything to just index since update was not needed as a separate action.
2011-04-03 18:04:14 -04:00

17 lines
303 B
JavaScript

$(document).ready(function() {
var form = $("form");
form.find("h3").click(function(){
var h3 = $(this);
h3.next().toggle();
if(h3.hasClass("close")) {
h3.removeClass("close");
}
else {
h3.addClass("close");
}
});
});