pass javascript variable value to c++ vatiable :   I'm using g++ to edit a html webpage, so How do I pass a Javascript variable value to C++ variable by using a Javascript function? e.x.

    function convert(val){//conversion}