Feedback on: irt.org FAQ Knowledge Base Q63
Worth:
Very worth reading
Comments:
Hi,
I am having problem with IE. Anything i define in the import2.js is not available untill the page is fully loaded(onload called).
In your example the calling test2 gives an error.
Could you please help me resolve this issue.
Thanks you very much.
Krishna
Worth:
Worth reading
Length:
Just right
Technical:
Not technical enough
Comments:
Hello,
Can anyone help me on the following which I am unable to understand:-
Regarding Question No.63
I have done the following as per the instructions.
1) Html file created
2) Import1.js file was also created
3) Import2.js file have also been created.
I have seen the last two lines mentioned in Q63 also. I have modified my Html file to look as follows:-
<script src="Test1.js">
</script>
<body onLoad='alert(test1());'>
</body>
which shows the alert box with the contents <script src="Test2.js"></script>
Is the above content shown in the dialog box right? or It should show Hello World?. Because I am not able to see the Hello World contents in the dialog box being called on the onLoad event of the body tag. Please note that import2.js file returns Hello World text.
Kindly clarify at the earliest possible, please.
Regards,
Srikanth S