• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How can I read values updated by javascript

 
Anna Nimus
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

I want to parse an html page using org.w3c.dom package. Let it be http://www.qypedeals.de/. The page has a counter updated by JS So if I try to get a value of



I always get 0. Is there any possibility to get that value?

Thanks in advance!
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64718
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Obviously the DOM will be as defined by the static HTML. Any changes made to the DOM by JavaScript cannot be determined just by parsing the HTML.

I do not know if there are Java components (perhaps defined by Swing?) that can load and execute the script. But simple parsing won't do.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic