Questions tagged as 'jquery'

1
answer

Grab button click on several lines

I need to get all the clicks of a generated html in a select. I have the following structure: <tr class="pesquisar" data-idlocalidade="<?php echo $linha['IDLocalidade']; ?>"> <td class="NomeLocalidade"><?php echo $l...
asked by 20.01.2017 / 18:17
1
answer

How to join texts in a textbox by dragging them?

I have an empty textbox, and I have some buttons with values like: + , - , * , / , palavra1 , palavra2 so on. I want to fill this textbox by dragging these buttons into it, not just clicking on them,...
asked by 10.10.2017 / 20:15
2
answers

bootstrapValidator.js with jsf does not work

My validation script using bootstrapValidator.js <h:outputScript library="primefaces" name="jquery/jquery.js" target="head" /> <h:outputScript library="primefaces" name="jquery/jquery-plugins.js" target="head" /> <script ty...
asked by 08.11.2016 / 15:10
1
answer

Return array () in jQuery

I have the following HTML list <table class="table table-bordered"> <tbody> <tr> <th width="50" class="text-center">#</th> <th>Item do Pacote</th> <th...
asked by 01.12.2016 / 21:06
2
answers

Filter with AJAX + PHP

Within my system, the user logs in, some information fetched from my database is shown, the function that searches the data and how it is listed follows:    Function # função que busca os dados de originação no banco function listaDadosOri...
asked by 08.12.2016 / 17:31
2
answers

Cancel the click event of tag a

I need to create a JavaScript function that is called at the click of a button and should cancel the click of a <a> tag. I tried this way: $("#botao").click(function(){ $("a").unbind('click') }) However, when you click on...
asked by 13.12.2016 / 22:01
1
answer

Fill a select with callback $ getJson Asp.Net / JQuery [duplicate]

What I need to do is the following, I have a select with States, when the person changes that state I need to fill another select with the Cities. This is the state select:      <div class="input-group">...
asked by 08.12.2016 / 12:09
2
answers

Call layouts within a modal

I have an application ready with layout itself, and inside this layout I use the fancybox. But now I'm forced to migrate to bootstrap and I'm using AdminLTE-2.1.1 to fit in what I want. The big question is to migrate the parts with...
asked by 22.11.2016 / 20:40
2
answers

Jquery problem in handling ajax data coming as array

My array returns from php like this (post): Array ( [0] => Array ( [O email digitado é invalido! Por favor insira um email correto.] => 1 ) [1] => Array ( [O telefone digitado e...
asked by 24.11.2016 / 17:01
1
answer

Dynamic button creation

Hello. I am tapping to create a button for each result that $.each generates. $.each (data, function(index, orc){ $html += '<div>'; $html += '<button type="button" class="list-group-item" id="btn_orc'+orc...
asked by 22.11.2016 / 15:02