Questions tagged as 'javascript'

2
answers

Word selection for phrase formation

For ease of explanation, I have separated the following mockup: The idea is this: Each of the options in the DIV is originally not visible, the idea is that an option is visible only after the user clicks. In addition, the option click...
asked by 12.05.2014 / 17:21
2
answers

How to retrieve query parameters after click paging

In the code below, how do I retrieve query parameters after paging? When the user informs the query parameters of the contract number and / or status and clicks on query, the code below usually queries through the submit of form ajax_form...
asked by 13.05.2014 / 23:14
1
answer

Get the object of the selected row with ng-grid Angular-UI

I'm using% s of Angular-UI and need to get the selected object when clicked on the grid line. I have ng-grid : $scope.selectItem = function(item) { $scope.selectedItem = item; } I tried to write the function property o...
asked by 13.05.2014 / 23:01
1
answer

Ajax pagination via server

I need to make a pagination via server only via Ajax . Below I'm posting the grid of how I'm doing, but I need to get the dynamic values and I do not know how to do it, follow the grid function drawTable(habilita) { dataTable = $('#tabFi...
asked by 16.05.2014 / 14:43
1
answer

Variable in Ajax request

Code to receive numeroCartao of user via $_Session and show all information about it. And from here I can delete this user via AJAX. In this section of the code I can see the array containing all user data, however in the pro...
asked by 01.07.2014 / 03:08
1
answer

Control Javascript page content according to who is requesting

Is it possible to control the contents of a script page according to the site that is requesting this page? For example if the site X makes the request I show X to run, if the site Y access I show other content dynamica...
asked by 30.06.2014 / 12:31
2
answers

JavaScript files do not load into production. How to solve?

I have the following problem. In production some JS files do not appear, already in development they appear. Production: Development: Does anyone know how to solve it?     
asked by 01.07.2014 / 15:24
1
answer

Calculate / Multiply / Add without "R $"

I would like to know how I can make the sum but eliminate or disregard the "R $", turning it into a number. The values in R $ are generated automatically by the system. Follow the code: <html><head> <script type="text/java...
asked by 17.04.2014 / 22:44
1
answer

jQuery mask does not read innerHTML

I'm having trouble generating mask reading (jQuery) on elements generated via innerHTML . Only validator works and after trying to insert a data outside the mask it loads the page with the mask. Here's the mask: <script>...
asked by 25.04.2014 / 21:30
1
answer

Validate fields with selects (Combobox)

I have the code below that generates rooms in my selects. str += '<select class="select-group" id="selQuartos">'; str += '<option>Qtd. quartos</option>'; for (var i = 1; i < $("#Quartos").val() + 1; i++) { if (i...
asked by 15.04.2014 / 22:19