Jquery value assignment usage of span tag

Span is the simplest container and can be used as a form tag, and its value assignment method is different from that of general page elements.

//assign

$("#spanid").html(value)

// get value

$("#spanid").text()

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324856903&siteId=291194637