Using JQuery:
Sometimes, I can do variable.val() and it works. Sometimes, I'm required to use $(variable).val().
I want to be able to make the choice without trial-and-error.
Does anyone know when to wrap an object with $() while using JQuery?
Using JQuery:
Sometimes, I can do variable.val() and it works. Sometimes, I'm required to use $(variable).val().
I want to be able to make the choice without trial-and-error.
Does anyone know when to wrap an object with $() while using JQuery?