0

The code I'm debugging in action is here:

https://reed123.000webhostapp.com/test/story_html5.html

If I hover my mouse over the pin of the dial I got aria-label for the pin like this:

enter image description here

But when I move the mouse out of the pin the aria-label of the pin hides:

enter image description here

The bad news is I can't select the pin with its aria-label using jQuery.

I've tried :

var item = $('[aria-label="spinner Dial 1 range from 0 to 12"]')
$(item).animate({'top': '-=30px'},'slow');

But it seems that I can't select the pin using this aria-label!!!

Please help, I really need that aria-label to select the pin using jQuery.

Why I can't have that aria-label and how to select it?

Sara Ree
  • 3,417
  • 12
  • 48

1 Answers1

1

I think you want to select dynamically created element. Look here - jQuery select dynamically created html element

Dorian Mazur
  • 514
  • 2
  • 12