What is the jQuery procedure of appending to a string instead of replacing it? -
i converting of raw javascript codes jquery , encounter lines goes -
divrecentnames.innerhtml += "something"; i'm trying utilize .html() method, replace existing value new one.
divrecentnames.html("something"); what jquery equivalent of appending new string existing one?
$('#elementid').append("this append");
official document append method demo http://jsfiddle.net/zuz36/
jquery string append
No comments:
Post a Comment