Getting a "'null' is not an object" when adding a script with a form.

  • Profile Image
    guest_30077103074039
    Asked on January 08, 2013 at 05:15 PM

    I'm trying to change some values within the form on a page load.

    I'm using the following script to achieve this:

    $(document).ready(function () {

        $("#input_4").attr("value", "ryanalbanese");

    });

    This returns me the error:

    'null' is not an object

    I can see that it's not finding the id "input_4". I only get this error when the script "http://max.jotfor.ms/min/g=jotform?3.1.1316" is on the page. Is there something that would be conflicting with what I am trying to achieve?

    Thanks for your time!

  • Profile Image
    jeanettebmz
    Answered on January 08, 2013 at 05:46 PM

    I answered to you on this thread