Questions tagged as 'jquery'

1
answer

Javascript does not read functions, or does not work if it does not return false

It is supposed that my function should calmly replace the content of each element detected by the each, and in turn, also look for the appearance of attachment to later perform a function with each attachment sought, but not what works within...
asked by 06.08.2018 / 00:11
2
answers

How do I get the value of a child element from a div

Hi I would like to know how to extract the value of a <input id="tipo"/> child from a <div class="box-header"> these elements of DOM are repeated but not their values, the values are used to set a local storage,...
asked by 23.07.2018 / 21:42
2
answers

how to capture the click event of the span

I have the following javascript function: function LoadDataTable(data) { $('#table-labresult').bootstrapTable("load", data); $table.bootstrapTable('refreshOptions', { pageSize: 5,...
asked by 23.07.2018 / 16:00
2
answers

The jquery .on event does not occur to me

I have the following situation, I am loading a code from Php to html with jquery . What is happening to me is that from the code I'm printing from Php when I show it in the html I do not recognize the jquery selector ( a.deleteComec ) tha...
asked by 27.07.2018 / 01:20
1
answer

How can a filter script be optimized to a table?

I have the following function in JavaScript to filter data from a table, but its response time while I am writing the data to search is very slow, is there any way to optimize it?     
asked by 01.08.2018 / 21:34
1
answer

SyntaxError: unexpected token: keyword 'break'

I have a switch in js , and the only error I get is that, here the code: switch (id) { case "0": var user = <?php echo $vv0;?> break; case "1": var user...
asked by 11.07.2018 / 16:14
1
answer

Problem with select for PHP MYSQL JQuery price filter

I have a form which contains a select , to be able to filter by higher or lower price, when I select an option if it performs filtering, the problem is that the select never changes the option always stays in the first option. I...
asked by 07.07.2018 / 00:32
2
answers

Consult specific data of mysql omitting others in php?

I have a table with the following data id, name, price, category, description, but I want to make a query according to the category, for example, if I select the chairs category just print those rows that have that category in said column. I ho...
asked by 08.07.2018 / 17:25
2
answers

how do I make the recently published comments go down

I have a comment box but the comments just published puts them first, and I want them to go last. from bottom to top "al réves" type chat messages. <main class="centered-bottom" id="main" role="main" tabindex="-1"> from there to below...
asked by 08.07.2018 / 05:26
1
answer

Problem using $ .ajax with safari

I have the following situation, I am using a $. ajax POST to send data to the server but I have a detail, when I load the site in a Safari browser either in a Mac or in a Ipad the process does not run to me and it keeps loading in: be...
asked by 30.07.2018 / 23:13