title: Jquery $(this).val() not working
body: <p>I am having issues using jquery to set the value a element which calls a function. Here is the code</p>
  
  <p>Element:</p>
  
  <pre><code> each outlet in FBoutlets  
          br
          label(for='FBoutlet') Facebook: #{outlet.FBoutlets.name}  
          input(type='checkbox', value='', onchange="streamFB(" + outlet.FBoutlets.FBpageId + "," + JSON.stringify(outlet.FBoutlets.FBaccessToken) + ")", name='FBoutletCredentials', id='FBoutlet')
  </code></pre>
  
  <p>Function:</p>
  
  <pre><code>  script.
      window.fbAsyncInit  = function()  {
      FB.init({
        appId             : '20212222222',
        autoLogAppEvents  : true,
        xfbml             : true,
        version           : 'v2.12'
        });
        };
  
      function streamFB(pageId, accessToken){
        FB.api(
          '/' + pageId + '/live_videos',
          'POST',
          {access_token: accessToken},
          function(response) {
              let rtmp = response.stream_url
              console.log(rtmp)
              console.log(response)
              $(this).val() = rtmp;
          }
        );
      }
  </code></pre>
  
  <p>$(this).val() is returning undefined, I need to use this because the element id dynamically generated</p>