Unable to pass integer from javascript to npapi plugin
I am writing a simple napapi plugin where I have to print the value passed from javascript function in html page. But I am facing problem while doing it. It works properly on firefox. But I want to do it on qt fancybrowser example. The value printed is always 0 no matter whatever value I pass in javascript code. The javascript code is as follows : <html> ..... <script> function process_data() { PluginObject = document.getElementById("Object"); var i =100; if(PluginObject){ ret = PluginObject.process_Data(i); } } </script> .... </html> The plugin code is as follows : ..... bool ScriptableObject