Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
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..Smile | :)
god bless u all..Smile | :)
Posted 23-Jan-13 23:08pm
MAU7871.6K
Comments
BaharDev at 11-Sep-14 0:11am
   
I also have the same problem appreciate if any one comes with a solution

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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
  Permalink  

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



Advertise | Privacy | Mobile
Web02 | 2.8.140926.1 | Last Updated 28 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100