EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: Opan Mustopah on December 07, 2014, 06:17:43 AM



Title: add custom class in textbox
Post by: Opan Mustopah on December 07, 2014, 06:17:43 AM
night all,

i want to know, it is possible adding a custom class in textbox plugin?
when i add easyui-textbox in some input element, it will generate span element with class textbox, so i want add my custom class into span element,

i already try this:

Code:
$(function(){
$('span.textbox').addClass('input-field');
});

but didn't work.
thanks in advance