JavaSonics

SDK

ListenUp Example


Web Home

SDK Home

Docs

Test PHP

Test ASP

Test ASP.NET

Examples

Demos

Download

Purchase

Support

Forum

Login

Contact Us

Company


JavaSonics ListenUp is no longer for sale.

Server can call JavaScript through ListenUp

The server script that receives the uploaded file can call JavaScript on the client using the CALLJS command. Simply output a line that begins with CALLJS followed by some JavaScript code. For example, to put up an alert box:

CALLJS alert('Server says Hello using CALLJS'); 

A stub that simulates the server script is here.

Note that you must have:

mayscript="true"

in your Applet tag. Also note that some versions of Mac OS X do not support Java calling JavaScript.

If you click Send when running off your local hard disk then you will probably see an error about not being able to connect. That is because you need to run this on an actual web server.

See more examples.


© 2001-2006 Mobileer, Inc.   This page is from the ListenUp SDK. You can download the SDK from here.