Questions tagged as 'javascript'

1
answer

Working with Grunt

I have read a lot about some tools used to facilitate the workflow on the front end and I knew Grunt, I understood his function and when it might be useful, but I have the following doubt when I use Grunt to perform the tasks of minification, co...
asked by 03.09.2015 / 16:14
1
answer

Default messages

I have textarea where I need to add predefined texts that are my links. When you click on them, the content of ID is added at the current cursor position in textarea . I need to do this with jQuery . Example: link     
asked by 03.09.2015 / 02:55
1
answer

Javascript x Ajax x html x jquery

Please, I need some help. I'm trying to develop an application with phonegap x jquery / strong> Ajax and I have the following situation: I'm on a page, after the user enters an email and password, I call ajax , from an external pag...
asked by 03.09.2015 / 05:16
1
answer

Uses existing walls in a second level parentNode

I have the following object as an example: var teste = { config : { dir: "myDir", type:"myType" }, fn : { foo : function(){ console.log(this); //retorna o objeto fn }, bar :...
asked by 23.06.2015 / 18:23
2
answers

Run JS when opening page [closed]

Good evening. I have a js where I need it to run when loading the page. It works when I click, but I can not get the calculation done automatically when loading the page. $(document).ready(function(){ executa5(); $(".cubagem, .tabbable...
asked by 24.06.2015 / 00:08
1
answer

How to put an OnClick event by calling a javascript function on a Link inside a GRIDVIEW in ASP.NET?

I have a form containing a button that will open a query popup. In this popup, I make a query passing as parameters name and cpf where the query returns, creates a gridview where each record contains a link that will return the data to a java sc...
asked by 21.06.2015 / 23:07
1
answer

Sort by javascript sales node

How can I make javascript sort this array through the sales node? [{"codigo":"produto003059","vendas":0},{"codigo":"produto003062","vendas":0},{"codigo":"produto003067","vendas":4},{"codigo":"produto003068","vendas":1},{"codigo":"produto003070...
asked by 19.06.2015 / 21:33
1
answer

Form in JS with message of Success and Fail

I have been looking for a good tutorial for a few days, explaining the beginning, middle and end of the creation of a form with sending (PHP and JS), but without reloading the page and also where it presents a msg (div) in green if the email was...
asked by 21.06.2015 / 23:00
1
answer

Create a dynamic value in checkbox using ajax

I have a ajax code link and I need the values that appear to be dynamic, eg: In the link that I put has 3 inputs and in js I created it for only 1, if I put it to all it would send normally checkbox:$($("#checkbox input")[0]).prop("ch...
asked by 19.06.2015 / 23:39
2
answers

Show streets and images on Type Satellite by default

I want to show the street names and establishments by default. What would be the option? I'm doing this: var myOptions = { scrollwheel: false, center: new google.maps.LatLng(lat, centerLon), zoom: 15, mapTypeId: google.maps.Map...
asked by 14.07.2015 / 15:28