EasyUI Forum
May 11, 2024, 12:16:03 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: form load + easyui-color  (Read 2478 times)
rezzonico
Full Member
***
Posts: 183


View Profile
« on: April 27, 2020, 04:27:19 AM »

Hi all,

in the following code I am able to initialize an easyui-combobox but not an easyui-color.

http://195.144.40.170/jeasyui/PPP.7/index2.html

Any help is appreciated.

Regards.
Miche¨
Logged
jarry
Administrator
Hero Member
*****
Posts: 2264


View Profile Email
« Reply #1 on: April 28, 2020, 01:47:21 AM »

Please call this code to append a 'color' field to the form.
Code:
<script type="text/javascript">
$.fn.form.defaults.fieldTypes.unshift('color')
</script>
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!