troubleshooting Question

How to Get Application ID from Element Using JavaScript?

Avatar of 894359
894359Flag for United States of America asked on
JavaScriptWeb DevelopmentjQuery* HTML 5
6 Comments1 Solution32 ViewsLast Modified:
I'm trying to figure out , using JavaScript, how I can get the app ID (_efdapps_appId=11695 ==> I want 11695 returned) from the element below?
<div class="submit-button">
    <a class="button-details btn btn-primary btn-media" href="">View Applications</a> <a class="button-details btn btn-primary btn-media" href=";_efdapps_lifeCycleDescription=This+application+is+being+reviewed.&amp;_efdapps_stepCode=0&amp;_efdapps_appId=11695&amp;_efdapps_programKey=25&amp;_efdapps_decisionCode=18&amp;_efdapps_lifeCycleDecision=Pending+decision&amp;_efdapps_isBeforeDealerPortalLive=false&amp;_efdapps_customerName=Test+More&amp;p_auth=UDdpSWSa">View Full Details</a> 
I need to support IE 11 so no Xpath.. Also no jQuery, pure JavaScript please.
Thank you!
Join our community to see this answer!
Unlock 1 Answer and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros