html - javascript event handling -


i building web form login. i've decided add in few features wouldn't normally. can't seem them work in every instance. so, here's problem.

on form, progress through each of inputs javascript box on side of page scrolls down , notifies input i.e. can enter, how many characters have left.

it works great text boxes, because can use onfocus , onblur event handler. when reach, example, div has multiple check-boxes can't use above event handlers each input, because have select option before box tells them about.

ive tried using onmouseover , onmouseout event handlers whole div, doesn't work fluidly.

so suggestions? maybe, there way active function if users puts cursor on part of screen?

hope make sense, thanks

could make little ? icon or next hover over, , attach event that...

...anyways...you sure doing right? post code...for example, works fine..when hover on 2nd checkbox, alert

<form> <input type="checkbox" name="vehicle" value="bike" /> have bike<br /> <input onmouseover="alert('test');" type="checkbox" name="vehicle" value="car" /> have car </form>  

Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -