执行div元素的onmouseover事件 [英] To perform onmouseover event of div element
本文介绍了执行div元素的onmouseover事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在网页中创建了一个动态div(''id = codeDiv'')元素,并在其上添加了href元素.
我执行以在href标签上触发onmouseover事件.
我将如何执行???
请帮助我....
I create a dynamic div(''id=codeDiv'') element in my web page and add a href element onto it.
I execute to fire the onmouseover event on a href tag.
How will i execute it????
please help me....
推荐答案
请使用JQuery进行相同的操作.
谢谢,
Ambesha
Freind use the JQuery for same.
Thanks,
Ambesha
尝试这个
(" span>).mouseover(函数(){ 评估(
("#divId").mouseover(function () { eval(
这篇关于执行div元素的onmouseover事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文