HTML Example for wodssh2 - WeOnlyDo Discussion board

HTML Example for wodssh2 (General questions)

by Shawn, Saturday, October 27, 2007, 04:57 (6237 days ago)

I have modified the html example to include a button and a Command text box

The fuction that script executes when the SendCommand button is clicked is

function DoSendCommand() {
alert(Command.value);
wodSSH1.Send = Command.value;
}

I receive an error Object doesn't support this property or menthod on the wodSSH1.Send statement. What is wrong with my syntax?

Thank you
Shawn

Re: HTML Example for wodssh2

by wodSupport, Saturday, October 27, 2007, 12:34 (6237 days ago) @ Shawn

Shawn,

Send is a method, not a property. Try

Ssh1.Send(........)

and that should work.

Regards,
Kreso