javascript - How to communicate between a local script of chrome extension and a script on remote server -
i working on extension , faced problem. problem is, have form on bluehost server account. when submit form , data has been inserted database, want invoke javascript method in extension directory located locally on laptop. how that. possibly 1 of each scripts php or javascript. when data submitted database have echo encounters if($con->query($in)){ echo "inserted"; }
or on response on javascript ajax success:function(re){ console.log(re); }
. either php or javascript want call local function.
Comments
Post a Comment