Quote Originally Posted by kows View Post
... except that won't load anything in IE. you need to have the <param> tag present with the 'movie' attribute defined to let IE know what is being loaded; otherwise, you're telling it you have an object to load and then you never get around to telling it what to put inside of that object.
HTML Code:
	<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="550" height="400" id="Untitled-1" align="middle">
	<param name="allowScriptAccess" value="sameDomain" />
	<param name="allowFullScreen" value="false" />
	<param name="movie" value="Untitled-1.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" />
	</object>
</noscript>
Looking at that code you there is no javascript involved if whoever need to include the javascript code in browser for whatever reason it was why don't Microsoft, etc just include the javascript code in their browsers?

why are you even doing any of this?
To see if it is possible to do create websites like I have been doing except without using javascript.

Quote Originally Posted by Pradeep1210 View Post
Each has its own role to play, and you should make full use of both.

Use javascript for simple tasks that don't have any security risk but spice up the user browsing experience. e.g. appearence related things, etc. Always put fallback code too. Never assume that your javascript code will always succeed, as you have no control over it.
Use PHP or other server side code to do heavy processing or database related tasks etc.
I agree! However, as stated above I have seen instances where javascript would be used for things such as form validation.