I did get the updated plugin from github!! and thankr for showing me how to get the countries based on the button clicked on. I have been playing with it so I can understand what you did.
The next question I have is: How do I add the results of rquery.run(error, response,raw ) to my map (i,e display the countries to my map).
Do I wrap the queries like so:
countries = new L.esri.featureLayer(featureURL,
query statements and execution goes here
See the file relatedtab3.html attached to the original post