Javascript return value

  • tbone2500
  • Born
  • Born
  • tbone2500
  • Posts: 2

Post 3+ Months Ago

Dear all,

I have the following code:
Code: [ Select ]
window.onload=createimg;


where 'createimg' is a Javascript function returning an image. How do I get a reference to the created image after the function has executed so I can attach a mouseover event handler?

T
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13504
  • Loc: Florida

Post 3+ Months Ago

That depends on the function definition of createimg.

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 88 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.