Questions tagged as 'jquery'

1
answer

How to do a SelectAll checkbox

I need to create a checkbox if it is selected it will select all the others and if it is not selected the others should also be deselected. I tried to do something but it did not work. See: $("#selectAll").on('checked', function () { $("...
asked by 23.10.2015 / 19:51
2
answers

Viewer for PDF with jquery

How do I open PDF in google chrome by jquery without the need to install plugins? There is no need for source code, just how should I do it. It could be a link and etc ...     
asked by 23.10.2015 / 17:11
1
answer

Rendering Delay with Angular + jQuery

Some jQuery functions or Angular directives are not loaded or rendered while loading the page. At various points in APP I had to apply the timeout to run everything normally. I'm currently loading the angle like this, and right below I loa...
asked by 07.10.2015 / 22:57
1
answer

Rotate array with method WHEN, javascript

Well, I have an array of numbers and I need to send each one separately to the server, but I need to wait for all to be executed before executing my final action. I researched and then discovered the method / function WHEN that expects al...
asked by 03.10.2015 / 15:02
1
answer

Upload image (GIF) in JavaScript?

I'm trying to display a loading image on my pages using these functions: $(document).ready(function(){ $(".loading").hide(); $.unblockUI(); $(".menuLink").focus(function() { $(this).addClass('link-menu-selected'); });...
asked by 02.10.2015 / 17:50
1
answer

verify if backend method is true and not client as well

I have a code that on my backend it returns true or false, I'm working with ruby and rails 5. So I have it's an if or so ja: <% if @order? %> <h2> teste 2 <h2> <%else> <h1>teste 1</h1> <%end>...
asked by 05.11.2015 / 18:06
2
answers

how to traverse all elements of a php vector with javascript

How can I go through all the elements of a php vector in javascript because my javascript only takes the last name but my 'var_dump ()' is all I can understand how can I do this can anyone help me? php code: foreach($_SESSION['carrinho'] as...
asked by 20.11.2015 / 22:42
1
answer

Construct a table on page B with DB data and unload on page A by ajax_jquery

I now need a b.asp file, build and populate a table (html), and then download it through ajax in the a.asp file. So: b.asp file <%@ LANGUAGE="VBSCRIPT" %> <% Option explicit %> <!--#include file="../../gen/inc/EBAXML.in...
asked by 24.09.2015 / 20:07
1
answer

Popular type ["text"] by select

I'm trying to populate a type ["text"] through jquery and it's not working! Form: <div> <label>Plano:</label> <select name="plano" id="plano" required> <?php echo $stringPlanos; ?>...
asked by 26.09.2015 / 16:09
1
answer

How to search a text-moving slide

I wonder what this type of effect is called. if they take a look summer texts going left on the right pair and vice versa but I already researched and I only think slides do not know how to make a search filter because I do not know what the n...
asked by 24.09.2015 / 19:11