87
| <![CDATA[<script type="text/javascript">
$(document).ready(function () {
$(".chosen").chosen({
search_contains: true,
no_results_text: "Sem resultados para",
placeholder_text_single: "Selecione",
placeholder_text_multiple: "Selecione"
});
$("#formulario").validationEngine();
});
</script>]]>
|
118
| <![CDATA[<script type="text/javascript">
//<![CDATA[
(window.Sys && Sys._Application && Sys.Observer)||document.write('<script type="text/javascript" src="/ScriptResource.axd?d=nTRCoQOjWHDkzoJiIHRyb7k1CQh_ATnB_UYR8PIShkRiwBrADPrmldVZFL4ugXCMhJK7D8FPMiFtG4tb7JL3LnQRwweBn_fwxXEGW5s2dSPq2Dicdf2nY57YxaI-MrCZYhWSwAYQbogLgQ5A_mqTQPsGcUu4XCXWZ1RtFn-VyJs1&t=ffffffffe6d5a9ac"><\/script>');//]]>
</script>]]>
|
634
| <![CDATA[<script type="text/javascript">
$(function () {
$('#termos_add').on('click', function (e) {
e.preventDefault();
$('#termos').append('<div class="form-group termo_added">' +
'<div class="input-group">' +
'<div class="input-group-btn">' +
'<button type="button" class="btn btn-sm dropdown-toggle" data-toggle="dropdown"><span>OU</span> ;<i class="caret"></i></button>' +
'<ul class="dropdown-menu pull-left termo_condicao_drop">' +
'<li><a href="#" data-value="1" data-texto="OU">OU</a></li>' +
'<li><a href="#" data-value="2" data-texto="E">E</a></li>' +
'<li><a href="#" data-value="3" data-texto="EXCETO">EXCETO</a></li>' +
'</ul>' +
'</div>' +
'<input type="hidden" class="hid_termos_condicao" name="termos_condicao[]" value="1">' +
'<input type="text" class="form-control input-sm" name="termos[]">' +
'<a href="#" class="termo_remove input-group-addon btn btn-sm btn-xs btn-danger"> <i class="fa fa-lg fa-minus-circle" data-toggle="tooltip" data-placement="left" title="Remover termo da pesquisa"></i> </a>' +
'</div>' +
'</div>');
});
$('#termos').on('click', '.termo_remove', function (e) {
e.preventDefault();
$(this).parents('.termo_added').remove();
});
$('#termos').on('click', '.termo_condicao_drop li a', function (e) {
e.preventDefault();
$(this).parents('.termo_added').find('button span').text($(this).attr('data-texto'));
$(this).parents('.termo_added').find('.hid_termos_condicao').val($(this).attr('data-value'));
});
$('[data-toggle="popover"]').popover({ trigger: "hover" });
});
</script>]]>
|