Link to home
Start Free TrialLog in
Avatar of tonelm54
tonelm54

asked on

Is it possible to list all the attributes, classes and data from an object.

Is it possible to list all the attributes, classes and data from an object.

For example:-
<input type="text" id="txtField1" class="class1 class2 class3" data-node1="branch1" data-node2="branch2" data-node3="branch3" value="Value Text" />

Open in new window


What Im looking for is something like to pull data from:-

type=text
id=txtField1
class=class1
class=class2
class=class3
data=node1=branch1
data=node2=branch2
data=node3=branch3
value=Value Text

Any suggestions?
ASKER CERTIFIED SOLUTION
Avatar of Najam Uddin
Najam Uddin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial