Re-apply event bindings after jQuery.load()
<p>Unfortunately I can't create a jsFiddle because this requires a valid URL returning HTML but the point is I'm using an input mask , which stops working after execution of <code>$.load()</code>
I think it's me just not understanding this function very well.</p>

<p>script:</p>

<pre><code>(function () {
    isa.uk.HpiLookup = (function () {
        function HpiLookup() { }
        HpiLookup.prototype.setupEventHandlers = function () {
            return $('#hpiLookupContainer').on("click", "#vehicleRegistrationSearchButton", this.onVehicleRegistrationSearchButton);
        };

        HpiLookup.prototype.setupInputMasks = function () {
            $('#VehicleRegistrationNumber').inputmask("#######", { "placeholder": "" });
        };

        HpiLookup.prototype.onVehicleRegistrationSearchButton = function (event) {
            event.preventDefault();
            return $('#hpiLookupContainer').load(
                GetVehicleByRegistrationNumberUrl,
                {
                    VehicleRegistrationNumber: $('#VehicleRegistrationNumber').val()
                },
                this.setupInputMasks);
        };

        return HpiLookup;

    })();
}).call(this);
</code></pre>

<p>Index.cshtml:</p>

<pre><code>&lt;div id="hpiLookupContainer"&gt;
    &lt;input id="VehicleRegistrationNumber" type="text"&gt;
    &lt;button id="vehicleRegistrationSearchButton" type="button"&gt;Search&lt;/button&gt;
&lt;/div&gt;

&lt;script type="text/javascript"&gt;
    var GetVehicleByRegistrationNumberUrl = '@Url.Action("GetVehicleByRegistrationNumber", "Vehicle")';
    var hpiLookup = new isa.uk.HpiLookup();
    hpiLookup.setupEventHandlers();
    hpiLookup.setupInputMasks();
&lt;/script&gt;
</code></pre>

<p>I've tried to make $.load() callback the <code>setupInputMasks</code> this way but it won't. <strong>How can I re-apply event bindings after <code>jQuery.load()</code>?</strong></p>
