i want to append a tag to with different ids, for eg.
<div id="1"></div>
<div id="2"></div>
<div id="3"></div>
<div id="4"></div>
if i use $('div').append('<span>Hello World</span>);
then it attached the <span>
tag with every <div>
, but i want to attach it to only 1 div based on it id. for example some time to 4 some times to 3 etc.