4c4 < HTML onmouseout and onmouseleave and onmouseup and onmousedown Events - RJM Programming - May, 2019 --- > HTML onmouseout and onmouseleave Events - RJM Programming - May, 2019 11,12d10 < var h4ihomu=''; < var h4ihomd=''; 20,21d17 < h4ihomu=''; < h4ihomd=''; 25,68d20 < function oclkomu(ois) { < var oistype=''; < if (ois) { < if (('' + ois.id) != '') { < //setTimeout(btn, 1500); < if (('' + ois.type).toLowerCase().indexOf('undefined') != -1) { < oistype=ois.outerHTML.substring(1).split('>')[0].split(' ')[0]; < } else { < oistype=ois.type; < } < if (h4ihomu == '') { < h4ihomu='You onmouseup a ' + oistype + ' (' + ois.id + ')'; < } else if (h4ihomu.indexOf('You onmouseup a ' + oistype + ' (' + ois.id + ')') != -1) { < h4ihomu='You onmouseup a ' + oistype + ' (' + ois.id + ')'; < } else { < h4ihomu+=' -> ' + 'You onmouseup a ' + oistype + ' (' + ois.id + ')'; < } < document.getElementById('myh4omu').innerHTML=h4ihomu; < } < } < } < < function oclkomd(ois) { < var oistype=''; < if (ois) { < if (('' + ois.id) != '') { < //setTimeout(btn, 1500); < if (('' + ois.type).toLowerCase().indexOf('undefined') != -1) { < oistype=ois.outerHTML.substring(1).split('>')[0].split(' ')[0]; < } else { < oistype=ois.type; < } < if (h4ihomd == '') { < h4ihomd='You onmousedown a ' + oistype + ' (' + ois.id + ')'; < } else if (h4ihomd.indexOf('You onmousedown a ' + oistype + ' (' + ois.id + ')') != -1) { < h4ihomd='You onmousedown a ' + oistype + ' (' + ois.id + ')'; < } else { < h4ihomd+=' -> ' + 'You onmousdown a ' + oistype + ' (' + ois.id + ')'; < } < document.getElementById('myh4omd').innerHTML=h4ihomd; < } < } < } < 144c96 <

HTML onmouseout and onmouseleave and onmouseup and onmousedown Events

--- >

HTML onmouseout and onmouseleave Events

150,151d101 <

<

153,156c103,106 < < < < --- >
stopPropagationpreventDefault
> > > 159,163c109,113 < < < > >
stopPropagationpreventDefault
<
<
--- >
> >
167,169c117,119 <
< <
--- >
> >