Dear fellow coders,
Just a small question. Say I have the following HTML:
<div class="foo">
{text}
</div>
Now we also have a JS array with 10 entries, all with a key 'text'. I want to use the snippet above as a template (snippet resides in jQuery-able webpage) for the array. Array entry goes in, HTML comes out. Here's the tricky part: I want to replace {text} with the text key from the array entry.
And all with jQuery of course ;-).
Best regards,
Reinder