How to call a function with parameters after $(document).ready
<p>I think this an easy one for jquery pros.</p>

<p>I made a global function. It's called by an change event. But it also should be called once after $(document).ready</p>

<p>Simple story for a function without parameters.</p>

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

function_to_call_after_ready();

})
</code></pre>

<p>But I have to call it with parameters, like this:</p>

<pre><code>({param1: "1"}, function_to_call_after_read)
</code></pre>

<p>Tried several combination, but I can't figure it out.</p>

<p>Here is the original called by an change event:</p>

<pre><code>$("#Verbrauch_Typ").change({param1: "#Verbrauch_Einheit", param2: "#Verbrauch_Typ"}, einheiten_filtern);
</code></pre>

<p>Works!</p>

<pre><code>einheiten_filtern({param1: "#Verbrauch_Einheit", param2: "#Verbrauch_Typ"});
</code></pre>

<p>Doesn't and "disables" the whole script. Also teh change call doesn't work anymore.</p>
