Internal page refresh with JavaScript
<p>I have a form and everytime some performs a onchange()-event, the page should run my javascript code again (but a refresh of the page using a new url request is not an option).</p>

<p>Any idea? I know this must be very simple.</p>

<p>my javascript-code:</p>

<pre><code> $(document).ready(function(){

    formObject = document.forms['newBom'];
    var vendor = formObject.elements['inptHardware'].value;
    console.log('selected vendor: ' + vendor);

    var product = formObject.elements['inptProduct'].value;
    console.log('selected product: ' + product); 

 });
</code></pre>
