Passing in name/id of target div
<p>Is it possible to pass in to a $.ajax function the name or id of the target div?</p>

<pre><code>function getData(someurl, somedata, somediv){
    $.ajax({
        url:someurl,
        data:somedata,
        success:function(msg){
            $('#id_of_div').show().html(msg);
        }
    });
}
</code></pre>

<p>Have been able to pass in someurl and somedata but as yet unable to pass in the id of the target div.</p>

<p>How should the target div id be passed in?</p>
