First of all thanks for ur reply David.
I just got the problem with (html + javascript + jsx) html5 extension. Actually callback works, like the control comes back to the javascript from jsx. But its not getting the value returned from jsx. But the same works out perfect in indesign; javascript callback gets the value returned from jsx.
can any one please suggest immediate!