• Resolved cckarman

    (@cckarman)


    A short question: I am trying to set my values though JQuery in the post. The following felt logic (based on your examples in this forum) but is not working:

    var my-num = 3;
    jQuery(‘.my-field’).val(my-num);

    Where am I going wrong?
    And what if I wanted to add a calculation, e.g., my-num*fieldnum1 ?

    Best,
    Chris

Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘get value from post’ is closed to new replies.