2010-09-10 22:23:13 +00:00
|
|
|
/*
|
2010-11-10 00:55:52 +00:00
|
|
|
* jQuery Mobile Framework : "fieldcontain" plugin - simple class additions to make form row separators
|
2010-09-10 22:23:13 +00:00
|
|
|
* 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
|
|
|
|
|
*/
|
2010-11-11 15:49:15 +00:00
|
|
|
(function($, undefined ) {
|
2010-09-10 22:23:13 +00:00
|
|
|
$.fn.fieldcontain = function(options){
|
|
|
|
|
var o = $.extend({
|
|
|
|
|
theme: 'c'
|
|
|
|
|
},options);
|
2010-10-15 14:36:43 +00:00
|
|
|
return $(this).addClass('ui-field-contain ui-body ui-br');
|
2010-09-10 22:23:13 +00:00
|
|
|
};
|
|
|
|
|
})(jQuery);
|