curl-and-php
Re: curl + javascript
Date: Thu, 5 Jun 2008 14:50:47 -0500
what if the function is like this: function __doPostBack(eventTarget,
eventArgument) {
var theform;
if (window.navigator.appName.toLowerCase().indexOf("microsoft") > -1) {
theform = document.Form1;
}
else {
theform = document.forms["Form1"];
}
theform.__EVENTTARGET.value = eventTarget.split("$").join(":");
theform.__EVENTARGUMENT.value = eventArgument;
theform.submit();
} i don't see how to obtain any values so i can post to the form. ryan
----- Original Message -----
From: "Colleen R. Dick"
To: "curl with PHP"
Subject: Re: curl + javascript
Date: Wed, 04 Jun 2008 14:05:15 -0700
No. you have to figure out what the javascript does and do it all
manually as far as I know. You don't really care about the size
of the window or any of that eye candy, all you really care about
is the url of the window that it actually opens. So you figure
all that out and then just do a normal curl on it. ryan pal wrote:
> good afternoon everyone.
>
> does curl have support for javascript? i have a page where the
> link is as follows: javascript:
> OpenPropertyWindow(screen.availWidth,screen.availHeight);
>
> is there anyway i can tell curl to navigate to a page which is
> called like that or similar?
>
> thanks,
> ryan
>
> -- * Mail.com Autos * - Powered by
> Oncars.com: Drive By Today!
>
------------------------------------------------------------------------
>
> _______________________________________________
> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
>
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
-- See Exclusive Videos: 10th Annual Young Hollywood Awards http://www.hollywoodlife.net/younghollywoodawards2008/
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2008-06-05