Which of the following jQuery method set the value of an element?

A. setContent( val )
B. val( val )
C. setValue( val )

B. val( val )
Share the Post

Leave a Reply

Your email address will not be published. Required fields are marked *