Questions tagged as 'javascript'

1
answer

Execute function after loading all the scripts in pure Javascript

I'm creating a plugin for Google Chrome where I inject elements into the page like the FontAwesome and Jquery libraries. These elements that I inject are coming from host's CDN's and need to start a function once they are all validated. to do th...
asked by 04.09.2015 / 04:27
2
answers

AngularJS | How to define a boot process for a controller?

I have a full Ajax app that needs to get data via WebService when the page loads. I have already initialized via ng-init but I do not know how to send the controller "load" and execute the block of code that retrieves the data. When I ent...
asked by 04.09.2015 / 03:17
1
answer

Separate Styles in the Three Column Division

I am currently doing the Prototype of an Interface where it will have the page divided into 3 sections: 1) A side column on the left side with width:25%; where the user form will be. 2) A column in the center with width:50% w...
asked by 18.08.2015 / 13:57
1
answer

Number of bookmarks in Google Maps

I was studying some ways to implement Google Maps, and I saw in a WordPress site a map with the information count, I I was wondering if you know a plug-in that does the same, or through documentation that Google offers to developers, how to de...
asked by 21.08.2015 / 18:14
2
answers

jQuery - create a jQuery element (create a tag) from a string

I have made to create an element (a tag) the following code: var b = $('<div>').css('color','red'); In this way above I will have a div with the text red color ok, now it is the following. I'm getting a STRING that contains all...
asked by 14.08.2015 / 20:38
1
answer

Print another page with javascript

I have a system which shows the result of a query. On this page you have the print button, but I need to make clicking the print button print another formatted page without having to open it for it, or if it is the case, do not even download, op...
asked by 14.10.2015 / 16:22
1
answer

Scroll within a javascript table

I have this function that mounts a grid in js function CarregarGrid() { $('#gridConteudo').jqGrid({ colModel: [{ width: 80, name: 'COD_OPERADORA', index: 'COD_OPERADORA', label: 'Operadora', formatter: GridOperadora...
asked by 04.12.2015 / 11:54
2
answers

Page size equal to the size of the IFrame

How do I make a page that is running inside an IFrame exactly the same as the IFrame? My IFrame has 700px X 500px, but the page that is running inside it takes up half the IFrame or less and creates horizontal and vertical scrolling. How I do? I...
asked by 05.08.2015 / 20:47
1
answer

Doubts with conversion of variables

I'm doing a child's game that tests your math skills. Basically the game is as follows: The entrance page has a series of linked houses, where each house has its own numerical value. At first the child will click on the first house that ge...
asked by 07.08.2015 / 01:36
1
answer

How to use variable value in jquery

I'm having trouble using the value inside my variable when I use jquery var id_pais = $('#endUF option[value=id_pais]').text(); $('#endUF option[value=id_pais]').remove(); $('#endPAIS option[value=id_pais]').prop('selected', t...
asked by 08.08.2015 / 18:03