EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
November 30, 2025, 01:07:02 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
>
How know type of component
Pages: [
1
]
« previous
next »
Print
Author
Topic: How know type of component (Read 6903 times)
rolandodt
Newbie
Posts: 1
How know type of component
«
on:
July 15, 2019, 08:15:20 AM »
Hi.
I would like to know if there is a way to know the type of component from the ID.
Thanks
Logged
jahangir
Jr. Member
Posts: 51
Re: How know type of component
«
Reply #1 on:
July 16, 2019, 03:56:39 AM »
You can determine it by getting class name.
Code:
var mytype = $('#myid').attr('class')
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...