What Am I Missing In This Code? : <p>I am new to this, and can't figure out where I've gone wrong. When I click the button nothing is happening. I might have added too much extra stuff, I can't really tell. Any help is greatly appreciated.</p>

<pre><code>    &lt;META HTTP-EQUIV="Content-Script-Type" CONTENT="text/javascript" /&gt;
    &lt;html ng-app&gt;
  &lt;script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"&gt;&lt;/script&gt;
&lt;script src="http://code.jquery.com/jquery-1.9.1.min.js"&gt;&lt;/script&gt;
&lt;script src="victory.js"&gt;&lt;/script&gt;
&lt;script language="javascript" type="text/javascript"&gt;
var Walmart = (function () {
function Walmart(http, zone) {
    this.stores = [];
    this.storeid = document.getElementById("storenum").value
    this.walmart = {
            query: [
                'http://search.mobile.walmart.com/search?query=',
                '&amp;store=' + this.storeid
            ],
             };
    this.zone = zone;
    this.http = http;  
    console.log(this.walmart);

    };

 var query = document.getElementById("search").value;

Walmart.prototype.getWalmartStoreQuery = function (query) {
    return this.http.get(this.walmart.store.query[0] + query + this.walmart.store.query[1] ).map(function (res) { return res.json(); });

&lt;/script&gt;
&lt;tr&gt;
&lt;td&gt;&lt;input type="text" name="storenum" id="storenum"&gt;&lt;/td&gt;
&lt;td&gt;&lt;input type="text" name="search" id="search"&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;button onclick="getWalmartStoreQuery"&gt;Test&lt;/button&gt;&lt;/td&gt;
&lt;/tr&gt;
</code></pre>
