I am trying to determine if a textarea is empty if a user deletes what is already pre-populated in the textarea using jQuery.
Anyway to do this?
This is what
You can simply try this and it should work in most cases, feel free to correct me if I am wrong :
function hereLies(obj) { if(obj.val() != "") { //Do this here } }
Where obj is the object of your textarea.
obj
textarea
Check Value is not null!
Value is not null!