title: using integer received on js function as param to fetch div id with same id as passed integer as param
body: <p>I'm receiving some integer on js function as parameter and I want to use that value which also represents div id to append result inside div.</p>
  
  <pre><code>function DisplaySomeData(someData, code) {
          $.ajax({
              url: formatUrl('...'),
              type: 'POST',
              contentType: 'application/json',
              data: JSON.stringify({ data: someData}),
              success: function (result) {
                  $("#+code").html(result);// how to use code to recognize div id?
              },
              error: ...
          });
  </code></pre>