The Javascript on a HTML page "generates" definitions for various variables. HTTPUnit does not seem to be able to 'see' those variables. Any clues?
Here's a bit of the HTML snippet... <script language="javascript"> <!-- if ((is_ie4up && is_mac) || (is_nav4up && is_mac) || (is_ie4up && is_win)) {document.write('<input type="text" name="slice1:departCity" size="19" maxlength="128" value="">');} else{document.write('<input type="text" name="slice1:departCity" size="14" maxlength="128" value="">');} //--> </script>
Suggestions would be helpful.
Log in to post a comment.
The Javascript on a HTML page "generates" definitions for various variables. HTTPUnit does not seem to be able to 'see' those variables. Any clues?
Here's a bit of the HTML snippet...
<script language="javascript">
<!--
if ((is_ie4up && is_mac) || (is_nav4up && is_mac) || (is_ie4up && is_win))
{document.write('<input type="text" name="slice1:departCity" size="19" maxlength="128" value="">');}
else{document.write('<input type="text" name="slice1:departCity" size="14" maxlength="128" value="">');}
//-->
</script>
Suggestions would be helpful.