This content has been marked as final. Show 3 replies
Hi,1 person found this helpful
this was working, but I discovered that I could use text coloring instead. I used dynamic action set style, to set onclick row color. But now I would like to have a jscript condition to check what color triggeringelement currently is. How to write such jscript condition into the dynamic action condition field, I cant seem to get it working.
Edited by: Rennokas on May 16, 2013 6:43 AM
assuming that your DA fires on a jQuery selector like this
then you should be able to set a JS condition similar to this
And don't forget to set your DA to event scope "Live"!
$(this.triggeringElement).css('background-color')=="rgb(226, 226, 226)"