[Laszlo-user] passing arguments to php program.
Steve Knox
ksra at mywdo.com
Wed Dec 19 15:54:17 PST 2007
This works great! Much thanks.
Steve
Dave Miller wrote:
> I would do it like this:
>
> <dataset name="ds" request="false" src="http://www.../sr.php" />
>
> and then your button code would be:
>
> <button text="Submit" onclick="sendit()">
> <method name="sendit">
> var d = canvas.datasets.ds;
> var p = new LzParam();
> p.addValue('qs', 'stuff' ,true);
> d.setQueryString(p);
> d.doRequest();
> </method>
> </button>
>
> (Warning: this is untested email code.)
>
> HTH,
>
> Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-user/attachments/20071219/12fedcae/attachment-0001.html
More information about the Laszlo-user
mailing list