Sagewire Logo

include js file in the JAVAscript file

2 Message(s) by 2 Author(s) originally posted in javascript java


From: Shinya Date:   Thursday, December 15, 2005
Dear Everyone,

Is there any way to include the .js file in the JAVAscript file?

Say I've a JAVAscript file called "dosomething.js"
I add the following line in the file, but I can't call anyfunction
from myscript.js What's the problem?

<script src="myscript.js" type="text/JAVAscript" >
function DoSomething()
{
alert( "Do Something!!!" );
myscriptFunction( );
}Shinya Koizumi
Windows Tips
http://www.smartestdesign.com ( underconstruction )


From: mike baal Date:   Tuesday, December 20, 2005
I want to put on my website www.srananodokalender.com with a new message
that automatically changes every month or two weeks. including the day of
the year we are everyday.
Does anyone know a JAVAscript ican use?
so 1. "Today is wednesday 21 december"
2. message (for everyday in decembermonth) " is cold this month", this
message has to change in january etc
mail me at mike.baal@xxxxxxxxxxx
tnx!!!



Next Message: Forwarding a webpage to an e-mailaddress


Blogs related to include js file in the JAVAscript file

JavaScript debugging tips (for Mustang context)
Mustang (Java SE 6) is co-bundled with Mozilla Rhino based JavaScript engine as an example ... Also, javax.script API does not include debugger API (yet?). ... When running the Test class with the following t.js script file, ...

Profict Java Summer Camp - AJAX
jMaki is a small toolkit that allows you to wrap other Javascript ... css and js file) you can probably include this stuff in any other framework easily. ... This experimental DWR feature allows you to execute Javascript from Java. ...

Ajax Patterns: JavaScriptBeans
Recall that in Java the basic deserialization of beans from XML follows a ... To handle the deserialization we create BeanUtils.js with the following main ... Instantiate JavaScript objects from XML file comes particularly handy when ...

uhNigMuh: Google Analytics And Secret Messages (Google)
It appears that the google-analytics.com urchin.js file has bitshifted ... That is a javascript tracker--you know, to track browsers that support javascript. ... 10. tries to detect Java support 11. tries to detect ShockWave support ...

The WebOS AppsBuilder meets Script.aculo.us (Application Developer ...
You have to include references to effects.js file (part of Script.aculo.us). But then Script.aculo.us uses prototype.js. For some weird reason, ... every effect could be done using the language of your choise (c#, pascal, vb or java). ...

GCalMap: Mashup Google Maps and Calendar
You configure the DWR servlet, with a file where you specify which java classes from your ... Then DWR generates javascript files that you can include in your UI layer, ... through a backchannel that they setup when their js is parsed. ...


Programming | Sports | Autos

copyright 2006
Valid XHTML 1.0 Transitional