Questions tagged as 'jquery'

3
answers

Start function by Onclick

Good afternoon Friends. My question is the following, I have a script that basically reads a .log in real time and shows it on the screen, but the question is that it starts with the DOM, I'd like it to start only from the click of the button...
asked by 27.07.2017 / 19:05
0
answers

How to save the current page from a dataTable to a variable?

I would like to save in the page variable the current page value of a table using the DataTable plugin, because of their documentation I believe it is more or less like this, but it is not working. var table = $('#myTable').DataTable(); var pa...
asked by 26.07.2017 / 21:30
0
answers

Dropzone images are not arriving on the server

I have a normal form and I inserted the drozpone inside it following some tips by the community. When I submit it, the dropzone images do not arrive at all on the server, $ _FILES is empty. FORM HTML <form class="multi-page-form" me...
asked by 26.07.2017 / 20:47
0
answers

Use function within the ajax response success

I have a list of tasks with checkboxes, which when checked updates via ajax the status of the task in the database, what I want to do is to return the completion percentage of the list, which is already done in the backend, and also already has...
asked by 28.07.2017 / 15:57
1
answer

Field date with jQuery does not set the chosen value

I'm using a jQuery-UI datePicker to generate date in an "input text" field, but I can not get the date selected in the datePicker to be set on that input and I do not understand what's wrong. What is missing in this code so that input text...
asked by 26.07.2017 / 18:28
0
answers

Anchoring with jquery

I created a scroll anchor with jquery but it only works on the same page, how do I work with different pages? jQuery(document).ready(function($) { $(".scroll").click(function(event) { event.preventDefault(); $('html,body').animate...
asked by 30.07.2017 / 00:44
1
answer

Unserialize Codeigniter - Ajax data?

Through the obj_form object, I display the database data in the form: //Objeto do formulário function obj_form() { $('[name="id"]').val(obj_permissao.id); $('[name="txt_nome"]').val(obj_permissao.nome); $('[name="txt_descricao...
asked by 20.07.2017 / 21:24
1
answer

How to put a success alert on a data entry via ajax?

I'm moving on a project in progress and what I need to do in it is to put an alert and refresh the page after inserting data into the database. The data is being inserted through a worksheet, that is, each item is a row in the worksheet that con...
asked by 23.07.2017 / 01:49
1
answer

How do I store the contents of a JSON file in a variable

agenda=[]; $.getJSON("agenda.json", function(dados) { agenda=dados; }); <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>     
asked by 22.07.2017 / 04:13
0
answers

How to work effects on parts of an image?

I want to map an image, dividing it into 'n' equal parts, and apply zoom effects as you hover over each part. Home A practical example would be to divide a 100x100 image into 4 equal parts of 25x25 size. Each of these parts, when the mouse is su...
asked by 21.07.2017 / 21:58