simurg
11-22-2007, 05:02 PM
hi
how can i call/activate an external js-file in conditional case?
for example say;
if daynumber of today >10, i want js-file come into action.
i write it as follows, but not running
<script language="javascript" >
{
if (Daynumber>10) {src="archivLINES.js"}
}
</script>
(Daynumber is off course defined before)
i guess it is wrong with "scr="; what is then correct code-line?
i will be very gratefull for any help...
how can i call/activate an external js-file in conditional case?
for example say;
if daynumber of today >10, i want js-file come into action.
i write it as follows, but not running
<script language="javascript" >
{
if (Daynumber>10) {src="archivLINES.js"}
}
</script>
(Daynumber is off course defined before)
i guess it is wrong with "scr="; what is then correct code-line?
i will be very gratefull for any help...