Questions tagged as 'jquery'

1
answer

Current Picker Date in Form

Hello, I use datepicker to add the date, but I would like it as soon as I open the site the current date already appears in the form. /* Portuguese initialisation for the jQuery UI date picker plugin. */ ( function( factory ) { if ( typeof de...
asked by 08.08.2018 / 18:26
1
answer

Export a JQuery bootgrid to Excel

I have researched here in the stak and the internet, and I have seen some articles and tips on how to export an HTML table to excel. But in my case, I think it's a bit different because I'm using JQuery Bootgrid and all the materials I read end...
asked by 08.08.2018 / 13:36
0
answers

How to prevent the form from deleting all data after refreshing the page

I have an app that has two screens, file.html and terms.html . In register.html I have a checkbox for the user to accept the terms, you can only register if you accept, but you do not have to open the terms screen. But if it opens, there...
asked by 16.08.2018 / 16:46
1
answer

Open base64 PDF

I have an application that generates a PDF in bytes and converts it to ToBase64String and sends it through a JSON so that javascript can open, but in chrome it can not read that file and display the PDF $.post('/Relatori...
asked by 16.08.2018 / 19:04
0
answers

Post of form append generated via jquery

Gero fields via jquery, with a question and 2 answers, I need to collect these fields in post via php. Gero as follows: var length = wrapper.find(".fields").length; $(wrapper).append('<div class="col-sm-12 fields fields'+ (length+1) +'...
asked by 17.08.2018 / 04:15
1
answer

Load specific content from a div that is in another html file with jQuery

Save list! I need a help here, I have a ".html" file where I mount a list that is configured like this: <!-- ... --> <header> function Open(id) { console.log(id); var x = $("#div"+id); $.get("descrs/grea...
asked by 17.08.2018 / 00:37
0
answers

Error executing a function in JS

I'm trying to run this function: function createSlick(){ $(".slider").not('.slick-initialized').slick({ centerMode: true, autoplay: true, dots: true, slidesToShow: 4, responsive: [{...
asked by 07.08.2018 / 01:54
1
answer

Click and Toggle with jquery, 1-click delay

I have a little problem that I do not know how to solve, I have a div, which when clicking on it it adds something with load (), and it alternates this event with toggle (), to add and remove too, only when I give the first click it does not imm...
asked by 06.08.2018 / 22:14
0
answers

Error passing parameter

I will try to detail the question as much as possible, but I do not know how to display an error in this situation, if anyone can help even in this, I thank you. I'm sending data via POST with Ajax, but one of the fields does not pass value t...
asked by 06.08.2018 / 11:17
0
answers

Update div only with ajax

I have a ajax code that sorts items from my table, what I need is for it to refresh only the div                               ID            Image            Name              Slug              Order             Situation             Action  ...
asked by 04.08.2018 / 23:57