i am making an iphone app that get data from web ,i use HPPLE to parse the html ,all works fine but in same cases i have problem to access elements created dynamically by JavaScript (document.write) in html web page .this is my html web source page source
<table dir = "rtl .......">
<tbody>
<script src = "get.aspx?type=js&file=ajax&rev=3"......>
<script language = "JavaScript" src = "get.aspx?type=js&file=mc&rev=6"></script>
<script>..</script>
<tr>..</tr>
<tr>..</tr>
<tr>..</tr>
<tr>..</tr>
<tr>..</tr>
<tr>..</tr>
<tr>..</tr>
<script>..</script>
<tr>..</tr>
<tr>..</tr>
<tr>..</tr>
i can see all elements labelled < tr> with safari Browser’s Developer Tools ,but when i try to download the html code the source that I get contains no html tags i want. sory of my bad english.and i hope some one help me.
The simplest solution to get JavaScript support is use a
UIWebView. It doesn’t need to be added to the view hierarchy.UIWebViewDelegateMethodsNow that you have the
documenttext, you could pass that to HPPLE