Hi all!In Freemarker, how can I access to HTML input values? I put an example: I have this HTML code:<input type='text' maxlength='1024' size='32' name='searchinst' id='searchinst'/>
<span class="taskAction" onClick="javascript:includeContent();">Búsqueda</span>
<select style='width:240px;' name='inst_derivated' id='inst_derivated' size='4' multiple>
</select></td>
The "includeContent" method execute a search (using the "searchinst" input value) and put the results as select "inst_derivated" options. So, the code is something like this:alert($('searchinst').value);
<#assign buscar="TEXT:\"" + $('searchinst').value + "\"">
<#assign docs=companyhome.nodeByReference[home].childrenByLuceneSearch["$"]?sort_by('name')>
var i=0;
<#list docs as d>
$('inst_derivated').options[i].text = "${d.name}";
$('inst_derivated').options[i].value = "${d.nodeRef}";
i++;
</#list>The alert runs correctly, but there is an syntax error in this code: Expression $ is undefinedHow can I access to this value?? Thanks so much!Regards,–Santigt