Questions tagged as 'javascript'

2
answers

Style sheets (js, css) in subdomain or in a folder within the application?

I have a question. I think someone has been through it sometime, too. I've always loaded my styles into a folder in my application: Ex: http://meudominio.com.br/assets/css - ou js e etc Looking at many source code from other developers...
asked by 18.11.2016 / 14:55
4
answers

JSON Object Objects

I need to create a json object from scratch where each key has several values / values example: '{"name":["daniel","dias"],"morada":["joao","allen"]}' For this I am executing this code several times, but the result is presented with numeri...
asked by 14.10.2016 / 17:45
2
answers

Optimization question [closed]

Talk about people, beauty? I have a question ... I'm doing a system that contains several screens, and I'm organizing as follows, I created a single index for the main page, and in that index has all the contents of the screens, my forms...
asked by 18.10.2016 / 01:08
1
answer

How do you transform a javascript function into an angular "function"?

I have the following code: angular.module("contato", []); angular.module("contato").controller("contatoCtrl", function($scope){ $scope.app = "contatos"; }); How to use a normal javascript fun...
asked by 25.04.2016 / 01:12
2
answers

Popular an array of objects with a string

I have a string with the following content: "Carlos Alberto xxxxxxx 11/02/2016 $103.10 Juliano Fontes xxxxxxx 12/02/2016 $102.10 Carlos ALberto xxxxxxx 13/02/2016 $500.00" I have my array with fields referring to t...
asked by 25.04.2016 / 12:16
2
answers

Give Foreach a label in Chartjs / Canvas - CodeIgniter

I have a problem here, which may be simple, I do not know I'm using a graphic frame, where I can put the labels I want so it can be displayed at each bar. Staying like this: Eachitem(January,February,March...correspondstoalabelinthefollowing...
asked by 28.10.2016 / 21:44
1
answer

Refresh div with Javascript or AngularJS - for IONIC

Hello, I have the following problem, I have a select with an onchange method that I would like to update a div . The reason for this is because I have a 3 graphics done in angular-chart.js and (supposedly) when values that the...
asked by 28.10.2016 / 13:31
1
answer

Change text of a div after clicking the button

I am completing the design of a mini shopping cart. My question is, how to make clicking a button change the title and price of two divs. And another, how to change the payment button according to the product and the values selected by the us...
asked by 24.10.2016 / 02:58
1
answer

Code for window flap / window / browser tab

Good afternoon, as I'm not good at javascript, so I need the masters here to help me. I'm building a system via a browser for a company. In this system will happen several events, and as I wrote in the title, I need a code so that when the user...
asked by 18.04.2016 / 20:30
2
answers

Error while trying to move file to a folder with PHP and JavaScript

I'm trying to move files from a folder. These files are listed, from the moment they are created, I want to move them to the end of the day for a given back-up folder. However, by calling the PHP function responsible for this, nothing does. T...
asked by 23.10.2016 / 01:39