开发者

Save data from editable division

开发者 https://www.devze.com 2022-12-17 22:01 出处:网络
I am havingeditable div. I need to store the contents of that division into a mysql ta开发者_运维技巧ble.

I am having editable div. I need to store the contents of that division into a mysql ta开发者_运维技巧ble.

Which all events are available for a division?

Is there any onBlur event for divisions?


You can see the list of events for a div element in IE on MSDN:

http://msdn.microsoft.com/en-us/library/ms535240(VS.85).aspx

The onblur event is there, and many others will work in other browsers too. The Mozilla Developer Center doesn't mention whether or not DIV elements support onfocus and onblur in Firefox, but those specific events should fire if the element is content editable or the tabindex attribute set to 0.

0

精彩评论

暂无评论...
验证码 换一张
取 消