Jsoup is a html parser only. Unfortunately it’s not possible to parse any javascript / ajax content, since jsoup can’t execute those.
The solution: using a library which can handle Scripts.
Here are some examples i know:
- HtmlUnit
- Java Script Engine
- Apache Commons BSF
- Rhino
If such a library doesn’t support parsing or selectors, you can at least use them to get Html out of the scripts (which then can be parsed by jsoup).