ECS-L Home Automation and Security Archives
  learn more | view messages for this month | NetBloc® | terms of use | search

Google
 


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects

Subject:
From:
Date:
ONLCICK JAVA call ?
Mark Gilmore
Mon, 27 Mar 2000 10:56:31 -0500

Can anyone tell me how (or if) I can call a JAVA applet via
an ONCLICK as follows ?:

	----------------------
	<APPLET CODE="Sel.class" WIDTH=0 HEIGHT=0></applet>
	<a href="" onclick="Setsel('0'); return false;">0</a>

	----------------------
	import java.applet.Applet;
	import java.awt.*;
	public class Sel extends Applet
		{
		public void Setsel(String sel)
		{
		System.out.println("Sel:Setsel:" + sel);
		}
	}

Perhaps I need to call a JAVASCRIPT function, which would then
call the applet ?
Thanks,
-- 
Mark Gilmore
Omnipotence (ECS home automation software)
http://www.usit.com/omnip
423-745-0026

  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects




Services provided by [NetBloc]®! NetBloc Solutions Inc.
Terms of use. Indexing software (c) 1999 Lin-De, Inc
.