I am writing a plugin to extend an existing plugin called appointments+
You use it to book appointments eg, hairdresser. I am extending it so you can add extra fields in the booking form. The booking form using ajax. Now I can create new fields in the form but I just cant seem to get the value of the text input. I am using the following code to get the value
var app_test_field = $(".appointments-test-field-entry").val();
Now this works fine for a checkbox but not for text field. I feel I am missing something fundamental about how Ajax works. an anyone shed light on why this is failing?