4,5c4 < HTML onmouseout and onmouseleave Events - RJM Programming - May, 2019 < --- > Event Logic stopPropagation and preventDefault - RJM Programming - April, 2019 9,10d7 < var h4ihomo=''; < var h4ihoml=''; 16,62d12 < h4ihoml=''; < h4ihomo=''; < } < < < function oclkomo(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 (h4ihomo == '') { < h4ihomo='You onmouseout a ' + oistype + ' (' + ois.id + ')'; < } else if (h4ihomo.indexOf('You onmouseout a ' + oistype + ' (' + ois.id + ')') != -1) { < h4ihomo='You onmouseout a ' + oistype + ' (' + ois.id + ')'; < } else { < h4ihomo+=' -> ' + 'You onmouseout a ' + oistype + ' (' + ois.id + ')'; < } < document.getElementById('myh4omo').innerHTML=h4ihomo; < } < } < } < < function oclkoml(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 (h4ihoml == '') { < h4ihoml='You onmouseleave a ' + oistype + ' (' + ois.id + ')'; < } else if (h4ihoml.indexOf('You onmouseleave a ' + oistype + ' (' + ois.id + ')') != -1) { < h4ihoml='You onmousleave a ' + oistype + ' (' + ois.id + ')'; < } else { < h4ihoml+=' -> ' + 'You onmouseleave a ' + oistype + ' (' + ois.id + ')'; < } < document.getElementById('myh4oml').innerHTML=h4ihoml; < } < } 91c41,42 < --- > > 96,97c47,48 <

HTML onmouseout and onmouseleave Events

<

RJM Programming - May, 2019

--- >

Event Logic stopPropagation and preventDefault

>

RJM Programming - April, 2019

100,101d50 <

<

103,106c52,55 < < < < --- >
stopPropagationpreventDefault
> > > 109,113c58,62 < < < > >
stopPropagationpreventDefault
<
<
--- >
> >
117,119c66,68 <
< <
--- >
> >
127d75 <