Change value of JQuery appended elements
<p>So I have newly appended elements on my page that are being appended with Jquery.live(), I now want to change the value of those after those elements have been appended. </p>

<p>So something like </p>

<pre><code>   $("#questionForm").empty();
        $.get("questionCreator.html", function(data){
            $("#questionForm").append(data);

        });
        var index=$(this).parent().index();
        id = index; 
        var associatedQuestion = idQuestionAssociation[index];
        var associatedResponses = idResponsesAssociation[index];
        if(associatedQuestion != null){
            $(".questionInput").val(associatedQuestion);
        }
</code></pre>

<p>So the .val() call, I think is not working because there is no .questionInput element initially, and this is appended. I feel like I should be using .live, or .delegate, or .on, but I'm not sure what event I should be using. </p>

<p>Can anyone help? </p>
