Skip to content

Instantly share code, notes, and snippets.

@shmdhussain
Created January 6, 2018 10:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shmdhussain/75b66485ef4075470f46e359eef8b01a to your computer and use it in GitHub Desktop.
Save shmdhussain/75b66485ef4075470f46e359eef8b01a to your computer and use it in GitHub Desktop.
Get the Options HTMl of dropdown which is selected in debugger
var aa=[];
$($0).find("option").each(function(i,el){
var htmlCont = $(this).html();
aa.push(htmlCont)
console.log($(this).html());
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment