HTML Example for wodssh2 (General questions)

by Shawn @, (6403 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

locked

Re: HTML Example for wodssh2

by Jasmine, (6403 days ago) @ Shawn

Shawn,

Send is a method, not a property. Try

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

and that should work.

Regards,
Kreso

locked