Calling back to Cocos2d-x (JS) from ccui.WebView

Hi folks

Is there a way to call back into the cocos2d-x runtime (in Javascript) as a result of some event happening in a ccui.WebView (e.g. a button is clicked on an embedded html page and this causes a function to be executed in the ‘native’ (js) game…?

I thought there was, but maybe I dreamt it…

Thanks