EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
December 05, 2025, 04:01:48 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
>
determine easyui-type from DOM object
Pages: [
1
]
« previous
next »
Print
Author
Topic: determine easyui-type from DOM object (Read 7307 times)
devnull
Sr. Member
Posts: 431
determine easyui-type from DOM object
«
on:
March 31, 2016, 08:45:53 PM »
Is there a reliable way of finding the easui object type from the DOM object ?
Code:
console.log($('#some_id').euiType());
>> textbox
Logged
-- Licensed User --
korenanzo
Guest
Re: determine easyui-type from DOM object
«
Reply #1 on:
April 01, 2016, 08:11:19 AM »
I resolved this writing it down when I create the object:
//create
$('#some_id').textbox({...})
$('#some_id').data('myType','textbox')
//using
console.log($('#some_id').data('myType'))
HTH,
RIc
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...