How do you check the cells inside the iframe?



  • Let's say iframe, he's at some point uploading data and putting it on the current page. And these data have html tag. How do you get access to these elements that were downloaded?

    This kind of verification doesn't work. He says 0. Although the element in the browser hangs and sees it.

    if($(".className").length)
    


  • To access the contents iframe Use the function. contents()

    $("#ifrmId").contents().find(".className")
    



Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2