Questions tagged as 'jquery'

3
answers

PHP data in Javascript document

Good afternoon. I have the following PHP code, somewhat simple: <? include("conexao.php"); $sql = mysql_query("select top 1 * from grafico_tb order by data_referencia desc"); $dados = mysql_fetch_assoc($sql); $dados['per...
asked by 06.09.2016 / 22:54
3
answers

Send form with ajax and return errors in a div

I'm using some Boostrap libraries, like the alert balloons, and would like to show them depending on the AJAX result, how can I send a post with AJAX and return the errors / successes in the divs, in this case it's best to return in JSON or plai...
asked by 10.10.2016 / 22:02
0
answers

Saving a value from a function in a Global Variable in jQuery

With a problem with the development of a simple dropdown , I am not able to get the value of a function to pass to the others, the values I am wanting are $target and dropdown that corresponds to the click action given in the...
asked by 27.08.2016 / 22:18
1
answer

Problems creating a reusable modal

HTML // I get what's inside the observacoes class and play for a textarea within the modal <td> <div class="observacoes">teste</div> <button class="btn bt...
asked by 16.09.2016 / 14:39
3
answers

How to clear input fields after submit?

This is as follows: When you submit the form, in the [POST] method, the variables are incapsulated in the URL bar. In the [GET] method, the variables are exposed in the URL bar. However, when you refresh the page in the [POST] method, the variab...
asked by 17.09.2016 / 20:28
0
answers

Multiples Carousel on the same page

When inserting multiple Carousel, when clicking on any other carousel, only the first one changes. Can anyone help me? <section> <div class="row"> <div class="col-lg-6"> <h3>Titulo nivel 3<...
asked by 26.08.2016 / 20:09
0
answers

Undefined jQuery passing via button

I'm trying to pass cod_historico via jQuery, within a button, which I'll open a modal, to search for internal views of specific content. I'm generating a list coming with database records: <tbody> <? $i = 0; for...
asked by 26.08.2016 / 23:39
0
answers

problem with tablesorter

I wonder if it is possible to manipulate the tablesorter search? I have a list with several records and pages, but when I do search, it is only searched by the page. How do I search the entire table? Here is the code for table...
asked by 26.08.2016 / 15:06
2
answers

Update elements inside a for using jquery

Hello, I'm starting in web programming, and my question I believe is simple, Today I have a certain page that contains a forech to display a list of a request for dynamically <tbody> <?php $i =0; foreach($itens...
asked by 25.08.2016 / 14:26
1
answer

Code reduction and variable declaration

Good morning. I have 8 different variables with the same functions. However, the functions assigned to these variables are the same. I feel like I'm being repetitive in the code. Is there any way to declare them all at once and the func...
asked by 30.08.2016 / 19:55