Reputation: 343
i have an requierement where i need to fetch value from outerHTML using jquery. below is my js function
where event.outerHTML will contain
<INPUT id=307 onclick=addremoveartifact(this,4); CHECKED type=checkbox flag="false" stkrvwrqrd="" arttype="Other" docId="" ppArtId="1516" appBy="[email protected]" status="Approved">
How to fetch the value of "status". some one please help
Upvotes: 1
Views: 1135
Reputation: 154
I had a similar problem with a project I was working on. This is what I suggest:
var status = $($(event)[0]).attr('status');
Upvotes: 1