Click here to Skip to main content
15,887,267 members
Please Sign up or sign in to vote.
4.50/5 (2 votes)
Hi all,
i am calling my applet from asp .net website.
It is loading properly but when i m trying to call any function which is der in applet
in IE and firefox it is running properly but in google chrome it is not even executing my javascript function.
here is my code:

<applet name="applet1" code="appletForDevice/appletDev.class"
archive="applet3/appletForDevice.jar"
           width="100" height="150" >
           <param name="Message" value="Hi!" /></applet>

           <script language ="javascript" type="text/javascript"">
            <!--
             str = document.applet1.getNewString();
             if (str == null) {
             }
             else {
                 alert(str);
                }
            //-->
   </script>


please help me if someone knows the problem and solution..
thanx in advance..:)
god bless u all..:)
Posted
Comments
BaharDev 11-Sep-14 0:11am    
I also have the same problem appreciate if any one comes with a solution

1 solution

First of all,can you check the settings for the Chrome Browser,is JavaScript option enabled or not from tools in the Browser menu list.
check the check box for enable the JavaScript.

If still issue persists,that particular java script code has some compatibility issue with the prescribed browser.


!!!!!!!!!!!!All the best !!!!!!!!!!!!
Rajesh Ram
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900