Offline Explorer 3.1 : Javascript

Author Message
Azzedine 03/31/2004 12:34 pm
Hi all,

I`m trying to download a web site having the following in an ASPX page:
<html>
....
<A HREF="javascript:" OnClick=`javascript:SubmitFormPost("default.aspx?a=xyz");`>Click here </A>
...
</html>

The corresponding javascript function is :
function SubmitFormPost(url)
{
var form = document.forms[0];
if (null != form)
{
form.action = url
form.method="POST";
form.submit();
}
}

When I`m downloading the site with OE (Entreprose Edition) I got the following error:
INVALIDE PAGE URL: default.aspx?a=xyz

Any Idea.
Thank you very much.

Regards.
Azzedine.
Oleg Chernavin 04/01/2004 06:08 am
Yes, dynamic form contents is not yet supported. Offline Explorer can only load forms that are not changed by scripts.

Sorry.

Anyway, if the ?a=xyz part is a sequence, like a=001, 002...999, you can easily use URL Macros to load all these links.

Best regards,
Oleg Chernavin
MP Staff