• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Accessing Applet string from browser

 
Gary Damschen
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to check for whether or not applet scripting is enabled in a user's browser. I can check for javascript being enabled and Java being enabled, but I do not seem to be able to reliably verify that the ability to script an applet is enabled. My Java is a bit rusty, but I have an applet (see below) that displays the word "Enabled" in the browser. I want to access that string in the applet from the browser using JavaScript to verify that scripting is enabled, but I can't seem to access the currStatus string from the applet. Any suggestions?
-Gary
Here are the relevant code snippets...
Java applet:

ASP page code:
 
Tim Holloway
Saloon Keeper
Posts: 18367
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Gary,
Could you please change your displayed name to "Gary Damschen"? We don't have many rules here are the Ranch, but one of them is that we prefer regular names. Aside from making things more professional, some names run out of initials fast.
There's a whole long enumeration of the hows and whys of setting up your JavaRanch display name and some day I hope they'll even stop hiding the page it's listed on. If you'd like to see it, I'll hunt down its URL, but all you really need to do is just go to your "My Profile" page and add the "ary".
Thanks!
Sorry I can't answer your question. It's not something I've had to do lately. But if no one else can in a couple of days, you might ask over in the Javascript forum and see if anyone there knows.
 
Gary Damschen
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'll go change it now, but to quote the rules:
"You can even use initials for the first name if you like." (emphasis added)
Might want to change that part ...
-Gary
 
Tim Holloway
Saloon Keeper
Posts: 18367
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, Gary. Abject apologies. This one of the first forums that most people post to, so I get over-sensitized to naming violations. It is a little friendlier to use a full name, though. At least if your name isn't 15 letters long, like some of our residents.
I think there'd be fewer problems if the naming standards page was linked directly to the registration page, but so far my hints to the powers-that-be haven't been acted on.
Anyway, I hope you can forgive me, and I hope someone gives you an answer soon.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic