Thanks Ken, I found the bug. If I place CE inside a jquery ui dialog, then this bug is introduced. That is, first time clicking save causes to be posted back, not JS Code executes. But, subsequent clicks on save cause to execut JS Code properly. Any workaround? Thanks.