amalosoul Posted December 11, 2006 Share Posted December 11, 2006 <input type=image src="bar.gif" class="dragme" style="position:absolute; top:100; left:100;" name="left" onClick="" onUnClick="javascript: window.close();">Why won't it close the window after I let go of the button?Thank you in anticipation! Link to comment https://forums.phpfreaks.com/topic/30260-solved-onunclick/ Share on other sites More sharing options...
Eric_Ryk Posted December 12, 2006 Share Posted December 12, 2006 Because onUnClick isn't an event. I believe you're looking for onmouseup Link to comment https://forums.phpfreaks.com/topic/30260-solved-onunclick/#findComment-139364 Share on other sites More sharing options...
amalosoul Posted December 12, 2006 Author Share Posted December 12, 2006 Thank you! That was exactly what I was searching for, onmouseup :)! Link to comment https://forums.phpfreaks.com/topic/30260-solved-onunclick/#findComment-139630 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.