title: jquery this.id not working
body: <p>Hello people here is my code ...</p>
  
  <pre><code>    $ (".input_check").change (function (){
  
          if ($ (this).is (':checked')) {
              console.log(this.id + 'is checked')
          } else {
              console.log(this.id + 'is not checked')
          }
  
  
      });
  </code></pre>
  
  <p>the above code works fine for several check boxes ....But i want to perform check after the page load not after <code>$ (".input_check").change</code>.... I tried ...</p>
  
  <pre><code> $ (function () {
  if ($ (".input_check").is (':checked')) {
              console.log(this.id + 'is checked')
          }
  )}
  </code></pre>
  
  <p>Iam trying to find the ID  <code>this.id</code> but not wrking.. I also tried <code>(this).id</code> and <code>this.attr("id")</code> still not working... :( am getting <code>undefined</code> anyways to fix this??</p>
  
  <p><code>UPDATE :: I have multiple checkboxes which are checked... I am trying to find multiple ids of those check boxes which are checked</code></p>