Solved

Script to open telnet

Posted on 1998-11-09
1
367 Views
Last Modified: 2006-11-17
I've received a script from Microsoft that can open up a telnet session, it goes as follow:

<html>
<head>
<title>Telnet Script</title>
</head>
<http><body>
<script>
<!---
parent.location.href="telnet://host.com"
-->
</script>
</body></html>

The host is the server that I am trying to open up a telnet with.  I was wondering if this is a Javascript?  If not, can I do something like this with Javascript instead?  I need to do this with Javascript because I need to send the Javascript a variable from my Java application.

joe73
0
Comment
Question by:joe73
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 10

Accepted Solution

by:
kollegov earned 10 total points
ID: 1273801
<html>
   <head>
   <title>Telnet Script</title>
   </head>
   <http><body>
   <script>
   <!---
   parent.location.href="telnet://host.com"
   //-->
   </script>
   </body></html>

Yes,it's JavaScript, I just corrected missed // in above
cloacking code.
It will works in case of browser have Telnet helpers
registered in preferences
(I checked it with NN4 and MIE4 and it works fine :)
0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question