Click here to Skip to main content
15,887,888 members
Home / Discussions / JavaScript
   

JavaScript

 
GeneralRe: Change the wallpaper Pin
enhzflep5-Jun-12 18:25
enhzflep5-Jun-12 18:25 
GeneralRe: Change the wallpaper Pin
Weli055-Jun-12 21:53
Weli055-Jun-12 21:53 
GeneralRe: Change the wallpaper Pin
enhzflep6-Jun-12 0:19
enhzflep6-Jun-12 0:19 
AnswerRe: Change the wallpaper Pin
Weli056-Jun-12 6:31
Weli056-Jun-12 6:31 
QuestionHTML 5 Tutorial Pin
pix_programmer1-Jun-12 20:56
pix_programmer1-Jun-12 20:56 
AnswerRe: HTML 5 Tutorial Pin
Ali Al Omairi(Abu AlHassan)3-Jun-12 20:08
professionalAli Al Omairi(Abu AlHassan)3-Jun-12 20:08 
AnswerRe: HTML 5 Tutorial Pin
berba4-Jun-12 21:43
berba4-Jun-12 21:43 
Questionpassing argument from javascript Pin
dineshbabub1-Jun-12 0:55
dineshbabub1-Jun-12 0:55 
Hi,

I wrote a script but I am not able to pass argument to the dialog box of my ssh-tectia.

HTML
<html>
<HEAD>
<TITLE>IPs</TITLE>
<link rel="stylesheet" href="style.css"/>
<script language="javascript">
<!--
var shell=new ActiveXObject("WScript.Shell");
function Execute(ipaddress,node) {
        //alert("First")
    shell.Run("ssh-client-g3.exe /script /arg \" + ipaddress + \"  /ARG \" + node + \" /ARG dinesh /ARG xxxxxx");
}
// -->
</script>
</HEAD>
<CENTER>
<FONT SIZE="+2">
IP's
</FONT>
</CENTER>
<BODY BGCOLOR="#ffffff" TEXT="#000000" LINK="#3a15ff" ALINK="#ff0000" VLINK="#ff282d">
<div id="wrapper">
<TABLE cellpadding="0" cellspacing="0" border="0" bgcolor="ffffcc" class="sortable" id="sorter">
<TR>
	<TH><FONT FACE="Helvetica,Verdana,Arial">DEVICETYPE:</FONT></TH>
	<TH><FONT FACE="Helvetica,Verdana,Arial">IPADDRESS:</FONT></TH>
</TR>
<TR>
    <TD><FONT FACE="Helvetica,Verdana,Arial">4</FONT></TD>
	<TD><FONT FACE="Helvetica,Verdana,Arial">
	<a href="Javascript:void(0);"OnClick="Execute('100.101.20.204','dinesh1')">100.101.20.204</a></FONT></TD>
 </TR>
<TR>
    <TD><FONT FACE="Helvetica,Verdana,Arial">4</FONT></TD>
	<TD><FONT FACE="Helvetica,Verdana,Arial">
	<a href="Javascript:void(0);"OnClick="Execute('100.101.20.205','dinesh2')">100.101.20.205</a></FONT></TD>
</TR>
</TABLE>
</div>
</body>
</html>


I want some help on how to pass the arguments like ipaddress/hostname, username to the tectia dialog box and also the password is prompted only after getting the hostname and username

how to pass this?

Any ideas or suggestions please let me know.
Thanks
Dinesh
AnswerRe: passing argument from javascript Pin
Manfred Rudolf Bihy1-Jun-12 3:11
professionalManfred Rudolf Bihy1-Jun-12 3:11 
GeneralRe: passing argument from javascript Pin
dineshbabub3-Jun-12 18:13
dineshbabub3-Jun-12 18:13 
GeneralRe: passing argument from javascript Pin
dineshbabub3-Jun-12 21:06
dineshbabub3-Jun-12 21:06 
GeneralRe: passing argument from javascript Pin
Manfred Rudolf Bihy4-Jun-12 1:51
professionalManfred Rudolf Bihy4-Jun-12 1:51 
GeneralRe: passing argument from javascript Pin
Manfred Rudolf Bihy3-Jun-12 21:43
professionalManfred Rudolf Bihy3-Jun-12 21:43 
GeneralRe: passing argument from javascript Pin
dineshbabub3-Jun-12 22:14
dineshbabub3-Jun-12 22:14 
GeneralRe: passing argument from javascript Pin
Manfred Rudolf Bihy4-Jun-12 1:48
professionalManfred Rudolf Bihy4-Jun-12 1:48 
GeneralRe: passing argument from javascript Pin
Manfred Rudolf Bihy4-Jun-12 2:02
professionalManfred Rudolf Bihy4-Jun-12 2:02 
GeneralRe: passing argument from javascript Pin
dineshbabub4-Jun-12 16:08
dineshbabub4-Jun-12 16:08 
GeneralRe: passing argument from javascript Pin
Manfred Rudolf Bihy4-Jun-12 22:24
professionalManfred Rudolf Bihy4-Jun-12 22:24 
QuestionFormatting Numbers to Local Settings Pin
Nagy Vilmos31-May-12 1:33
professionalNagy Vilmos31-May-12 1:33 
AnswerRe: Formatting Numbers to Local Settings Pin
Manfred Rudolf Bihy31-May-12 3:02
professionalManfred Rudolf Bihy31-May-12 3:02 
GeneralRe: Formatting Numbers to Local Settings Pin
Nagy Vilmos31-May-12 4:06
professionalNagy Vilmos31-May-12 4:06 
GeneralRe: Formatting Numbers to Local Settings Pin
Manfred Rudolf Bihy31-May-12 4:19
professionalManfred Rudolf Bihy31-May-12 4:19 
QuestionExtJS Pin
RameshChTulal29-May-12 1:28
RameshChTulal29-May-12 1:28 
AnswerRe: ExtJS Pin
thatraja4-Jun-12 17:18
professionalthatraja4-Jun-12 17:18 
QuestionUpdate DIV text by Javascript Pin
iucaa27-May-12 10:06
iucaa27-May-12 10:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.