R
R
rsoinvi2015-10-05 12:58:20
JavaScript
rsoinvi, 2015-10-05 12:58:20

How to find the loaded html element?

I'm making a banner in edge animate.

The banner block looks like this: Task: I need to find downloadable id = "Stage_Rec" I just can't do it. Already tried a lot, don't want to
<div id="Stage" class="EDGE-161661080"></div>


Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Gregory, 2015-10-05
@grigruss

var id='';
$('div').each(function(){
   if($(this).attr('class').indexOf('EDGE-')>=0){
        id = $(this).attr('id');
   }
});

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question