copy to clip board from pocket IE

Discussion in 'Javascript' started by pratik, Nov 20, 2003.

  1. pratik

    pratik Guest

    Hi
    Im trying to copy text into the clip board of the pocket pc 2002
    using java scripts, this works on IE 5.5 on a desktop but not on the
    pocket pc (pocket IE3.0). Can you tell me what is wrong with this
    script? Is there any other way to do it?

    Also is there a way to invoke a program from the pocket pc browser and
    pass it parameters?

    thanks in advance
    Pratik


    <html>
    <body>
    <script>
    function getfile()
    {
    var Line =new String;
    document.forms[0].T1.select();
    document.execCommand("copy");


    return false;
    }
    </script>


    <form method="POST" action=writer.exe name="F1" onsubmit="return
    getfile();">
    Type something here
    <p><input type="text" name="T1" size="20" >
    <input type="submit" value="Submit" name="B1"></p>
    </form>

    </body>
    </html>
    pratik, Nov 20, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ben
    Replies:
    2
    Views:
    2,317
    Kevin Spencer
    Sep 13, 2005
  2. Alex
    Replies:
    2
    Views:
    1,206
  3. Vijay
    Replies:
    0
    Views:
    889
    Vijay
    Dec 30, 2009
  4. dsnyder
    Replies:
    2
    Views:
    491
    David Snyder
    Apr 14, 2004
  5. SirCodesALot

    clip board data as html

    SirCodesALot, May 30, 2008, in forum: Javascript
    Replies:
    4
    Views:
    101
    Holger Jeromin
    May 31, 2008
Loading...

Share This Page