Javascript include files on Pocket IE (PIE)

R

rwoo_98

1. (e-mail address removed) Sep 30, 10:07 am show options

Newsgroups: microsoft.public.pocketpc.developer
From: (e-mail address removed) - Find messages by this author
Date: 30 Sep 2005 07:07:51 -0700
Local: Fri, Sep 30 2005 10:07 am
Subject: Javascript include files on Pocket IE (PIE)
Reply | Reply to Author | Forward | Print | Individual Message | Show
original | Remove | Report Abuse

I have a mobile page with some javascript. I am attempting to use a
common utilities javascript file located on another web application.


I found a message about <javascript src=???> being supported on PIE
2002 and above. I got it to work using relative src file. However, I
could not get it to work using an http address.
It works when I use IE or Firefox, so the syntax should be correct.


The following works:
<ScriptTemplate>
<script type="text/javascript" language="JavaScript"
src="include/global.js"></script>
<script language="JavaScript">
somefunction in global.js
</script>
</ScriptTemplate>


Could not get this to work. Is it supported?
<ScriptTemplate>
<script type="text/javascript" language="JavaScript"
src="http://domain.com/include/global.js"></script>
<script language="JavaScript">
somefunction in global.js
</script>
</ScriptTemplate>


Thanks,
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,989
Messages
2,570,207
Members
46,782
Latest member
ThomasGex

Latest Threads

Top