Jquery text of val of HTML of method differences summary


The text () : 1. Obtain without parameters Each of the matching elements Text content of

                  2. Parameters are given Each of the matching elements The assignment

Val () : 1. Obtain without parameters The first matches the element The value of the

                2. Parameters are given Each of the matching elements The assignment

The HTML () : 1. Obtain without parameters The first matches the element Tag content of

                      2. Parameters are given Each of the matching elements The assignment