Jump to content

Javascript with html


Fire Dragon

Recommended Posts

I know how put JS to html document,but can I html clips to JS?I mean example,when you press button,it calls function,what creates image to page.So how I can put that <img src="image.gif"> code in javascript code?I need some this kind effects,so I need to know,how make it.Thanks!

Link to comment
Share on other sites

@ Fire Dragon,To be valid, where you have <script type="javascript"> you should add 'text' in there like this <script type="text/javascript">@ pulpfiction,the 'language' attribute isn't a valid attribute anymore

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...