Hi,
I also want to know if this is possible. Does javascript recognises the
return values from java functions. or is it possible to call the java
function inside the javascript. I have not tried , but my guess is that it
will give you some kind of syntax error.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ASHWANI KALRA
NIIT LTD.
E-Commerce Group, SEB
8, Balaji Estate
Kalka ji,
New Delhl-19.
Email : [EMAIL PROTECTED]
           [EMAIL PROTECTED]
Phone :091-11-6203577(D),6203578
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




> ----------
> From:         meera nayak
> Reply To:     meera nayak
> Sent:         Thursday, February 24, 2000 1:44 PM
> To:   [EMAIL PROTECTED]
> Subject:      Java in javscript
>
> Hi room,
>             I am doing something like this .Trying to call a method in a
> java class from javascript.It returns a string .But how does javascript
> handle it.Can it handle a parameter returned from the java method.Can it
> store it in a variable.
>
> source code
> <html>
> <head>
> <script>
> var strMon;
>  function getMon(){
>   strMon=document.test.getMonth();
>   alert("mon",strMon);
> }
> </script>
> </head>
> <body>
> <applet name="test" code="rob.class" width=1 height=1>
> </applet>
> <form>
> <input type=text name=textfield1 value="">
> <input type=button onclick="getMon();">
> <form>
> </body>
> <html>
>
> Can anyone help
>
> Thanx in advance
> Meera
>
> ==========================================================================
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to