Questions tagged as 'javascript'

2
answers

Adding values with AngularJS

I'm trying to do a simple college job but I'm stuck on one thing, I have a list of objects with properties: $scope.items = [ {title: 'Chuveiro Elétrico', quantidade: 4, potencia: 3500}, {title: 'Ferro Elétrico', quantidade: 1, potencia: 10...
asked by 15.09.2014 / 19:47
1
answer

How to inactivate the empty area of a div?

I have a div on adding mouse events but I wanted the mouse 'hit' to only work where content existed and ignored margins' po ex. The image (yellow area is the area I want to 'inactivate' since there is no content) that illustrates the problem...
asked by 19.09.2014 / 19:20
2
answers

Change the color of a specific time slot in FullCalendar

I'm working with the view calendarDay in FullCalendar. I have a function that blocks when the user clicks on specific time slots on specific days (these values are written to the bank). I would like to know how I can set a different color only f...
asked by 06.04.2015 / 21:32
1
answer

Jasmine tests on separate files without breaking the describe?

I want to organize my javascript tests on separate files, but these can be part of a common module. For example: describe("Controllers", function () { describe('Move list Controller', function () { //ListController its });...
asked by 31.10.2014 / 13:06
1
answer

window.open is not opening the popup

I have an extension that sends things to an external server by ajax post (all in javascript) and the response from the send (sent from the server) is received in the extension itself. I want to put that answer in another popup. How can I do this...
asked by 28.03.2015 / 18:11
4
answers

load plugin datepicker into page call with ajax

I'm using the datepicker plugin All my datepicker input, has the class named datepicker <input type="text" class="datepicker"> So, I have only one setting for the datepicker and I can use it on all pages, so I set it...
asked by 01.04.2015 / 02:53
1
answer

How to change the href by select and onchange using javascript

My code is to change the url of 'href' every time the user changes the select. I did once to change the 'src' of an image, but when I used href it just did not work! <script language="javascript" type="text/javascript"&...
asked by 20.08.2014 / 09:31
4
answers

Add a limit of "passes" on a carousel slider

I'm working on a simple slider carousel and I need that when there is no previous or next item you can not move to a nonexistent element like this is happening, link     
asked by 19.08.2014 / 20:25
1
answer

Updating Div data from a Json file without blinking the screen

I'm using the script below to get values that are in a Json file (which is stored in industrial automation equipment connected to a TCP / IP network and is a "type" of a basic ULTRA web server) and put them into Divs of a html page based on the...
asked by 18.07.2014 / 02:31
1
answer

Exporting currency formatting with ExcelBuilderJS

I am using ExcelBuilderJS to produce an Excel spreadsheet on demand and download it to the customer. Ideally, this needs to be done on the client, not the server, and the library works very well in that respect. However, I encountered a pro...
asked by 25.07.2014 / 16:57