Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / JScript / January 2008

Tip: Looking for answers? Try searching our database.

Jscript and Windows Mobile

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
אביעד טויטו - 28 Jan 2008 09:52 GMT
Hi

I'm trying to run a short jscript script file that popup a window to the
user and the user can press OK or Cancel buttons.

When I run the script (via CScript or WScript) it runs properly but in
Windows Mobile (on HTC Tytn2 device) nothing happens.

Here is an example of the script:

function disp_confirm()
{
    var r;
    r=app.confirm("Press a button");
if (r==true)
 {
 return true;
 }
else
 {
 return false;
 }
}

Thanks

Aviad
Dr J R Stockton - 29 Jan 2008 14:25 GMT
In microsoft.public.dotnet.languages.jscript message
<D368E441-6B63-47CB-A383-828F1E0D7E5C@microsoft.com>, Mon, 28 Jan 2008
01:52:00, =?Utf-8?B?15DXkdeZ16LXkyDXmNeV15nXmNeV?= <?@?.?.invalid>
posted:

>function disp_confirm()
>{
[quoted text clipped - 9 lines]
>  }
>}

I cannot answer your question; but

       function disp_confirm()
       {
               return app.confirm("Press a button");
       }

should do the same.

It's a good idea to read the newsgroup c.l.j and its FAQ.  See below.

Signature

(c) John Stockton, nr London UK. ?@merlyn.demon.co.uk   IE6 IE7 FF2 Op9 Sf3
news:comp.lang.javascript FAQ <URL:http://www.jibbering.com/faq/index.html>.
<URL:http://www.merlyn.demon.co.uk/js-index.htm> jscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.


Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.