EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
September 14, 2025, 04:45:18 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
trying to apply style to component
Pages: [
1
]
« previous
next »
Print
Author
Topic: trying to apply style to component (Read 9376 times)
crosemffet
Jr. Member
Posts: 68
trying to apply style to component
«
on:
November 30, 2012, 04:03:44 AM »
I'm trying to apply a style to validatebox component trough my whole application
I mean trought the whole application, each time a validatebox components uses, use the same predefined style.
I'm trying:
$.extend($.fn.validatebox.defaults,{
style: 'border:1px solid #A4BED4'
});
but it's not working.
what's wrong with my code?
thanks, in advance,
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: trying to apply style to component
«
Reply #1 on:
December 01, 2012, 12:08:38 AM »
To apply a style to a validatebox component, define a style class and add it to the input markup of validatebox.
Code:
.myclass{
border: 1px solid #A4BED4;
}
<input class="easyui-validatebox myclass" required>
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...