View Full Version : Dear sir
muhammad Taj
08-08-2005, 02:02 PM
my dear sir ,
i m a brand new student of Java Script.
please tell me a mathod how can i run an extenal java (*.js) file
in html page,specialy in <body> tag
I want to run a marquee in the top of page
Please help me .i,ll thank full to u.Dear sir
cr3ative
08-08-2005, 03:24 PM
<script src="url" type="text/javascript">
cr3
mwinter
08-08-2005, 03:35 PM
<script src="url" type="text/javascript">No closing tag?
Mike
cr3ative
08-08-2005, 04:24 PM
I didn't think that linked ones required it-
I presume you mean
<script src="url" type="text/javascript"/> or <script src="url" type="text/javascript"></script>
I got a slap on the wrists before for posting the latter of the two :)
cr3
They do. And most browsers don't support self-closing script tags either - at least, not in XHTML1.0 Strict, the doctype I was using at the time. Firefox was the only one I found that did.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.