Hi, Im trying to achieve the following:
A certain page will have a series of strings, which are replaced with database content if it exists.
For example:
<h2 class="label">Title:</h2>
<p class="value">{{Title}}</p>
Would become:
<h2 class="label">Title:</h2>
<p class="value">This is the title</p>
The problem is, if the database row for {{Title}} has never been entered, it displays the {{Title}} instead of replacing it with whitespace. So what id like to do is, with jquery, if .value contains {{, hide the whole element, in the same way display:none would.
Is this possible?
Thanks in advance.
Rob