I am trying to get an attribute from the child of the the currentTarget
. I have tried this,
(e.currentTarget.child.attr("data-english"
)
I have googled it and have had no luck finding anything useful, maybe its me being new with code I might be looking up the wrong thing.
Here is the HTML
< select class="form-control" id="select_fundFamily" name="select_fundFamily" autocomplete="off" >
< option value="stuff" data-english="english" data-family-locallang="model" >
At the moment in JQuery, the e.currentTarget.value;
is showing the select element.
Can someone please kindly advise me in what path to take to solve this issue?