Tizen 2.1 base
[platform/framework/web/web-ui-fw.git] / libs / js / jquery-mobile-1.0.1pre / js / jquery.mobile.fieldContain.js
1 /*
2 * "fieldcontain" plugin - simple class additions to make form row separators
3 */
4
5 (function( $, undefined ) {
6
7 $.fn.fieldcontain = function( options ) {
8         return this.addClass( "ui-field-contain ui-body ui-br" );
9 };
10
11 //auto self-init widgets
12 $( document ).bind( "pagecreate create", function( e ){
13         $( ":jqmData(role='fieldcontain')", e.target ).fieldcontain();
14 });
15
16 })( jQuery );