title: Cannot get value of textarea with Shopify Product Options by Bold
body: <p>I'm trying to get the value of a textarea with Shopify <a href="https://apps.shopify.com/product-options" rel="nofollow noreferrer">Product Options by Bold</a> and it is currently not working. I am able to get the value of a textarea locally, but I can not get the value when I move the code over to Shopify. I have looked <a href="https://stackoverflow.com/questions/22057610/uncaught-typeerror-cannot-read-property-value-of-null">here</a> and <a href="https://stackoverflow.com/questions/27827135/error-uncaught-typeerror-cannot-read-property-value-of-null">here</a> to no avail. </p>
  
  <p>Here's the relevant code:</p>
  
  <pre><code>document.getElementById("248832").onkeyup=function(){getVal()};
  var textbox = document.getElementsByName("properties[Message Body]")[0].value;
  </code></pre>
  
  <p>and here's the textarea I'm trying to get the value of</p>
  
  <pre><code>&lt;textarea data-option-key="ta_248832" id="248832" class="bold_option_child shapp_full_width " name="properties[Message Body]"&gt;&lt;/textarea&gt;
  </code></pre>
  
  <p>When I try to run this on Shopify, I get an error saying "Uncaught TypeError: Cannot set property 'onkeyup' of null", although I did notice that at one point shopify runs the following jQuery code, which might be what's causing my problem:</p>
  
  <pre><code>&lt;script&gt;
  jQuery('#248832').change(function (){conditional_rules(7437760391);})
  &lt;/script&gt;
  </code></pre>
  
  <p>I am trying to get the value of the textarea so I can run get the amount of words in said textarea. </p>
  
  <p>Any help would be greatly appreciated!</p>