Questions tagged as 'javascript'

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

How to create content on a page that is inside the iframe using innerHTML

Hello, I have the three pages listed below, one index.html (which contains an iframe), another that lists students according to the CPF entered on the previous page and javascript. I want the function listAlumni () that loads together with...
asked by 06.10.2015 / 18:09
1
answer

Is it possible to reuse this complex function for multiple entries at the same time?

In the site that I assumed from a previous developer, one registers investors one by one after a system search called CM. The function is called cadastraInvestidor: function cadastraInvestidor(codigoCM){ // TODO 2/4/2015 - Cadastro de investid...
asked by 07.10.2015 / 16:06
1
answer

Stylize editable square "balls"

When you draw an editable square on the map, those "polka dots" appear in the corners, which are the clickable areas to resize the square. function initMap() { var map = new google.maps.Map(document.getElementById('map'), {...
asked by 07.10.2015 / 16:56
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
2
answers

List all form data via POST or GET

I have a problem that I can not solve, I'm finishing a website that will be used for a soccer ball, follow the link ( link a>) on the "bettors" page displays a list of registered bettors with the score of each and at the end of the line a butto...
asked by 06.10.2015 / 18:23
1
answer

Doubt in application creation

I'm creating a mobile phonegap / cord application in which I need to search the name of a place, phone and address and find it on a map. I'm in doubt if I use the phonegap / cordova geolocation or the google maps API. And also how am I going to...
asked by 04.10.2015 / 23:44
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

write files to the database with ajax + jquery

I am not able to save data in the mysql database with ajax, can anyone help? Not from error or anything, just does not save. PHP:      $serve = mysql_connect('localhost', 'root', ''); if(!$serve){ echo 'erro';} $db = mysql_select_db('observato...
asked by 03.10.2015 / 20:41