If you want an easy way and not so hard to manage then I suggest using an AJAX sort of request and you can code a PHP file that handles the request then the JS http request fetches the HTML result.

Here is an example http://w3schools.com/php/php_ajax_database.asp which uses onchange and GET it's very simple.