Questions tagged as 'jquery'

1
answer

Adding filtered values from an html table with jquery

I have a tbody with several tr of these: <tr class="odd"> <td class="id-despesa"> <p class="orig"> <?php echo $exibe2->id ?> </p> </td> <td class="data-desp...
asked by 26.06.2017 / 16:21
1
answer

jquery datatable submit details

I have a jQuery DataTable that has detail, where I click on the line the expand the detail tamplate that makes a request to the server and brings different data from the main table, follow this Example But my problem now is this, I need ins...
asked by 11.07.2017 / 16:40
1
answer

How to get information in dynamic Jquery

I have the following code that calls all categories for a menu. They are dynamically created: function retornaCategorias (){ var container = $("#navmenu"); var container1 = $(".top-nav"); var listaCategorias = container.find(".most...
asked by 11.07.2017 / 16:00
2
answers

Hide a div containing photo and show another div in the same place

I'm using jquery / php to access the user's camera and take a picture for a user account. And on the page change user data I need to load the photo show the photo recorded in the database in a "photodb" div and when you click on the take photo b...
asked by 31.08.2017 / 20:55
0
answers

Security request AJAX

Do you know how to get more security when sending data via AJAX? As the data will be sent by the customer, I want to avoid fraud, etc. Today I can do the following function: console.log("funcoes lancamento"); $(document).ready(function()...
asked by 22.06.2017 / 22:26
1
answer

Autocomplete jquery doubt

I have a script with autocomplete that I wanted if the user typed a word that does not have in the script it was redirected to a specific url for example warning.html, but I am not able to do this, if you can help me from now thank you . &...
asked by 05.07.2017 / 01:23
0
answers

Select two elements in each to get start and End of screen input

I have a page where I have a start and end date, and I need to create a validation where I can not create any records if the current time is between these two dates. I have the current date already and I am able to validate with the end time,...
asked by 20.06.2017 / 21:29
0
answers

Error in $ .post method

The index.html page contains: <!DOCTYPE html> <html> <head> <title>teste</title> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="script.js"&g...
asked by 20.06.2017 / 20:03
1
answer

Assigning a numeric value to a html class using jquery

I'm trying to make a memory game and for this I need to assign values to the div where they will be stored to compare if the selected figures are the same. I tried it that way (as per code below) but it is not working. Could someone point me the...
asked by 21.06.2017 / 01:20
3
answers

sessionStorage with expiration time

I made a small script here, but I'm not able to do a customization on it. I need to set an expiration time for sessionStorage . Here is the script : <script type="text/javascript"> if (sessionStorage){ if ( ! sessionS...
asked by 22.06.2017 / 20:03