javascript val() code example Example: jquery value of input $("#textInput").val() // To get value of element textInput