[Laszlo-user] passing arguments to php program.
Dave Miller
dwmiller at umich.edu
Wed Dec 19 15:22:12 PST 2007
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/6ae8e5d7/attachment.html
More information about the Laszlo-user
mailing list