SELECT * FROM tableName WHERE fieldName LIKE '%blablabla%';
<div class="success alert alert-success" role="alert">
<% if (description) { %>
<p class="description"> <%= description %> </p>
<% } %>
<p><%= message %></p>
</div>
<script class="tpl_container" type="text/template" data-name="type">
<div class="success alert alert-success" role="alert">
<% if (typeof(description ) != "undefined") { %>
<p class="description"> <%= description %> </p>
<% } %>
<p><%= message %></p>
</div>
</script>
3 столбца - плохая идея (ИМХО)
accords.sort(function (a, b) {
if (a.length > b.length) {
return -1;
}
if (a.length < b.length) {
return 1;
}
return 0;
});
document.getElementById("button").addEventListener('click', function (e) {deepThought.alertAnswer();});
var deepThought = {
...
onLoad: function () {
var a = this;
document.getElementById("button").addEventListener('click', function (e) {a.alertAnswer();});
}
}
var deepThought = new function() {
var self = this;
this.answer = 42;
this.alertAnswer = function() {
alert(self.answer);
};
}