Questions tagged as 'javascript'

1
answer

Send data without refresh PHP [closed]

I have a form with n tables involved and needed to leave all the insert in a single file, well this I already have. But I need it to be sent without refresh and for this I am using ajax. Here's the question how to do this in ajax, in a way that...
asked by 27.09.2017 / 19:14
1
answer

How to KEEP ONLY what was filtered in AngularJS?

I have the following AngularJS file: <script> angular.module('meuModulo', []) .controller('mercadoriaCarrinho', function($scope, $http) { var ctrl = this; $scope.listademercadoria = [];...
asked by 27.09.2017 / 18:59
1
answer

Project Base in AngularJS with CodeIgniter

Hello, I'm having trouble creating a folder base using angularJS and codeigniter. Some examples I searched on the internet left all of the angular files inside a folder named "app" in the root, other examples left inside the "assets / js /...
asked by 07.11.2017 / 18:54
2
answers

Hiding and showing tab within a modal using check

I have a registration screen that is within a modal. Within this modal has some tabs, among them a tab called foreign. I'm trying to put a check box so that if the check box is selected the tab appears, if it is not selected the tab disappears ....
asked by 07.11.2017 / 14:24
1
answer

Use data from a $ _SESSION in Javascript?

Talk to everyone, okay? I'm catching up with something that I believe should be something simple. I have this little function in javascript where according to the user level I should send to different pages. Example, if the session user is...
asked by 02.11.2017 / 17:39
1
answer

Sweep json object with $ .each jquery

I'm making a request to my Servlet and getting the json data as per the code below: $(document).ready(function(){ $.post("MesaController",function(response){ $.each(response,function(i,v){ $("<button>")...
asked by 03.11.2017 / 05:13
1
answer

disable white space at end of lines (non-drag-spaces)

I have this error in a project vue js , I know it is eslint I checked the tutorial on the site on how to remove the error with / strong>, but it did not work, if anyone knows, I appreciate if I can help. Error: link Missing space b...
asked by 02.11.2017 / 18:15
2
answers

Dropdown menu with javascript

I'm trying to make a dropdown menu just by changing <div's> with Js. Is there any way to use only function() to change <div's> ? The only solution I found is to create a function() for each <div>...
asked by 02.11.2017 / 23:40
1
answer

Script under 18

I am making a registration that is only allowed for people over 18, I made a script that is catching two days ahead in the case today and day 02/11/2017 then only users who were born on 02/11/1999 to low can register only that in this script I d...
asked by 02.11.2017 / 14:44
1
answer

Variable in php for javascript

I'm using HighChart to create graphics, but I'm not able to pass the value of data through a php variable: series: [{ name: 'Tendência', data: <?php echo $encodeValorTendencia; ?> },{ name: 'Obtenção', d...
asked by 25.09.2017 / 18:10