Not getting value of text input field

I am trying to validate my inputs using Jquery. Partial code, which is relevant to question is below. Don't worry about clicking to individual that's the other option. But I need to get text value in alert and hence show add button when the field is not blank. I cant change HTML as it is generated by Django.