I'm trying to add a mouseover event to the file browser as soon as file browser loads the mouseover event happens. When I mouse over the link nothing happens. I've changed the following line in frmresourceslist.html from
var sLink = '<a href="#" onclick="OpenFile(\'' + fileUrl.replace( /'/g, '\\\'') + '\');return false;">' ;
to
var sLink = '<a id="' + fileName +'" href="#" onclick="OpenFile(\'' + fileUrl.replace( /'/g, '\\\'') + '\');return false;" onmouseover=' + alert('test') +';return false;">' ;
Can anyone help me out?
var sLink = '<a href="#" onclick="OpenFile(\'' + fileUrl.replace( /'/g, '\\\'') + '\');return false;">' ;
to
var sLink = '<a id="' + fileName +'" href="#" onclick="OpenFile(\'' + fileUrl.replace( /'/g, '\\\'') + '\');return false;" onmouseover=' + alert('test') +';return false;">' ;
Can anyone help me out?