hi everybody,
i have a problem.. i get some html through ajax from a sevlet. before displaying it on screen i dynamically create a DIV element using createElement. I specify the CSS for this DIV as follows:
I tried subMenu.onmouse over = fun; But its' not working!
Now I want to give some Event to this div.. how do i do it?
Thanks in advance.
-- Abdel Raoof Olakara
i have a problem.. i get some html through ajax from a sevlet. before displaying it on screen i dynamically create a DIV element using createElement. I specify the CSS for this DIV as follows:
Code:
subMenu = document.createElement('<div>'); subMenu.id = "subArea";
Now I want to give some Event to this div.. how do i do it?
Thanks in advance.
-- Abdel Raoof Olakara
Comment