take the value of a function in jquery code example Example: jquery get value of element // Get the value from id thisElement $("#thisElement"). val();