0

Hi

I'll describe the following scenario:

I got a table with td's and each of the got onchange and onclick

when i change value of a td and click on other td i get the onchange event(of the first td) being fired and then the onclick (of the other td) being fired

BUT...

if inside the onchange event I use transformNode function , it will result in disabling the onclick event of the other td...

How can I solve this issue and make the onclick event being fired ???

Thanks ahead,

Daniel.

2
Contributors
3
Replies
4
Views
6 Years
Discussion Span
Last Post by Airshow
0

I can only think that you have to reattach the onclick handler to the td after calling transformNode.

Airshow

0

I can only think that you have to reattach the onclick handler to the td after calling transformNode.

Airshow

I tried it with jQuery , but it seems not to work, it fires only for the "second" click and for the first (and the relevant one)


there must be some other way (wonder what)

I also tried window.event.stopbubble and .event.stopbubble with true and false...

nothing helped... :/

0

The only other thing I can think of is to avoid XSLT and achieve the effect of the transform with more straightforward DHTML/jquery/CSS manipulation.

(I avoid XSLT as much as possible)

Airshow

Edited by Airshow: n/a

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.