The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript If No Text is on the Page…

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #28687

    Im reletively new to javascript / jquery but is there a way to do the following?

    if, there is no text whatsoever on the page, then, display the following text: "some text".



    how is this done? is it simple or is it more complex?


    we have a bomgar support portal (remote support) that if a representative is logged in the Bomgar support client it lists their name. but if no one is online the page is left blank. I would like it to say "No representative is available.

    There is nothing elses on this page. I have the support page loading in an iframe in another page. I have my reasons why I have it set up this way, but this i basically why I would like to do this.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.