Questions tagged as 'jquery'

4
answers

DataTable does not sort correctly

I'm using the datatables plugin to render results in a table. The problem is that the first column has 3 dates: 26/11/2015 19/11/2015 03/12/2015 I need to sort the results of dataTables based on these dates. The correct would be fr...
asked by 29.11.2015 / 02:29
1
answer

Simulate click with jQuery after inserting link via jQuery

I have to open another tab with a link that is returnable from PHP to jQuery. I've used window.open but it asks to release popup and the client does not like it at all. So I thought of doing, when jQuery receives the link, it chang...
asked by 25.11.2015 / 03:25
1
answer

How to change filename for download?

I am generating a PDF file and use HTML5 to display it on the screen: $("#conteudo-pdf").append('<object data="' + meuData + '" type="application/pdf" style="width: 100%; height: 100%"></object>') Content is displayed correctly...
asked by 23.10.2015 / 14:26
1
answer

How to make an image "loose" inside a div

I need to leave a "loose" image within div on my mobile site. The div has fixed dimensions but the image is much larger, so it would have to be something similar to iframe , however, without scrolling and the user can move th...
asked by 20.10.2014 / 18:51
1
answer

+ sign before the function in JQuery? what does it mean? [duplicate]

I'm going to finish a system started by another colleague who was disconnected from the company and I'm in doubt about using + before starting the function, and I would like to know what the impact of this assignment is, +function ($)...
asked by 28.09.2017 / 14:10
3
answers

Scrollbar not hidden in Internet Explorer

I'm creating a site where I use multiple elements div of the page size, and links in the top menu that directs to these div , doing a page scrolling effect with each click. My problem is that in Internet Explorer, the scroll bar...
asked by 07.01.2014 / 03:41
1
answer

Send data to upload images through ajax

<script type="text/javascript"> $(function(){ $("#oformulario").submit(function(e){ e.preventDefault(); var nome = $("#nome").val(); var email = $("#email").val(); var obs = $("#obs").val();...
asked by 20.08.2014 / 23:54
2
answers

Send checkbox with ajax jquery php

I have the form to send / work perfect with the other fields, but I can not receive the checkbox selections. I need help getting / manipulating in php: HTML: <div class="input-group"> <label for="servicos">NECESSITA EMBALAGE...
asked by 10.05.2016 / 21:33
1
answer

Height of the div no load

How to leave the field 2 divs with the same height as #result4 I gave load ? <script> $(document).ready(function() { $( ".buscascript<?php echo "$row[id]"; ?>" ).click(function() { $( "#fechargame...
asked by 10.04.2014 / 02:23
1
answer

How to link a specific div from another PHP page

I have a one page site, where I have an external page with a menu, and the same one has to link the DIVS of my home (one page). Example: On my external page, clicking on the Videos menu, I'll go to Div from the One Page page. When I try to li...
asked by 25.11.2015 / 13:40