jquery-mobile/js/jQuery.fieldContain.js
2010-09-10 18:23:13 -04:00

14 lines
No EOL
478 B
JavaScript

/*
* jQuery Mobile Framework : prototype for "fieldcontain" plugin - simple class additions to make form row separators
* Copyright (c) jQuery Project
* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
* Note: Code is in draft form and is subject to change
*/
(function($){
$.fn.fieldcontain = function(options){
var o = $.extend({
theme: 'c'
},options);
return $(this).addClass('ui-field-contain ui-body ui-body-'+o.theme);
};
})(jQuery);