How do I write a script that is to be run on the client side to move text from one textbox to anothe

  • Thread starter Thread starter Tony Johansson
  • Start date Start date
T

Tony Johansson

Hello!

Hello!

Below I have some html code that display a InputTextBox and on row 2 I have
a input HTML button
and on row 3 I have another InputTextBox
I hope that someone could tell me how I write Java script or a VBScript that
is to be run on the client side
when the input button is clicked that move the text from the upper textbox
to the lower textbox.

Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>

<body>
<form id="form1" runat="server">
<h3>Write something in the upper box, please </h3>

<input id="Text1" type="text" />
<br />
<input id="Button1" type="button" value="Read" />
<br />
<input id="Text2" type="text" />
</form>
</body>
</html>

//Tony
 
Hello!

Hello!

Below I have some html code that display a InputTextBox and on row 2 I have
a input HTML button
and on row 3 I have another InputTextBox
I hope that someone could tell me how I write Java script or a VBScript that
is to be run on the client side
when the input button is clicked that move the text from the upper textbox
to the lower textbox.

Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>

<body>
    <form id="form1" runat="server">
        <h3>Write something in the upper box, please </h3>

        <input id="Text1" type="text" />
        <br />
        <input id="Button1" type="button" value="Read" />
         <br />
        <input id="Text2" type="text" />
    </form>
</body>
</html>

//Tony

How about client side C#?

PDC08 session PC64-V:

The New COM API for Accessibility and Automation in Windows 7

explains that automation via the API also works for HTML and that the
API also works on Windows XP, Vista or Server 2003 (if downloaded
separately). Note that using client side C# probably requires using
the UIA Managed Client API that was also shown in the presentation.
Note: I just saw the presentation for the first time a few days ago,
so I have not actually had an opportunity to try out my
recommendation. My interest in it is that it is one of the three
strongest candidates I have seen so far for using .NET with Access to
take advantage of client side multicore capability (the other two
being the Synch Framework and straight C++), in that it has special
COM data transfer capabilities.

James A. Fortune
(e-mail address removed)
 
Back
Top