how can I insert some HTML code between ... using javascript?
...
Ex: 相关标签:
相关标签:
Javascript
document.getElementById('mydiv').innerHTML = '<span class="prego">Something</span>';
jQuery
$("#mydiv").append('<span class="prego">Something</span>');