Autocomplete suggestion text onclick event triggering problem

Autocomplete suggestion text onclick event triggering problem

hi,

I have the following work to be done ,asking for suggestion. I used a textbox

Control: textbox
Event  : onchange    function : validate email()
Event:  keyup           function: autocomplete();

problem here is clicking the suggestion text of autocomplete , onchange event( validateemail)  is firing ,how can I prevent that. i want to make it work like onclick of suggest text in autocomplete the validation of email should not be done. after fill the textbox with autosuggestion text only it should work.please share valid suggestion

Thanks and regards
Murali