Questions tagged as 'javascript'

0
answers

Get a value returned by AJAX generated in PHP

I have in pagina1.php a form that calls by AJAX to pagina2.php and I show what I got in div of pagina1.php I also need to get the value of $_SESSION['io'] that I print in the pagina2.php . $.ajax({...
asked by 07.06.2017 / 10:31
2
answers

.preventDefault () does not work

I am creating an online store as a school project in Laravel. Everything is fine until I want to prevent a button from executing its "submit" action. {!! Form::open(['url' => '/in_cursos_carts', 'method' => 'POST', 'class' => "addtoca...
asked by 07.06.2017 / 20:48
1
answer

How to pass parameters to a directive from a controller? AngularJS

directive ('communicator', [function () {         return {            template: (parameter);         }; The parameter passed from a controller     
asked by 27.05.2017 / 03:24
1
answer

I can not display imagene with vue using axios

Hello, I am using vue with axios to request information from an API and it works with the data as name, date but when I want to use it with a img src="" it does not work: html: <div class="container" id="app"> <...
asked by 26.05.2017 / 17:38
0
answers

ng-click does not work with Rows Grouping of Datatables

Hello I have a datatable that is filled with data from a query, after filling the table with the data I drawCallback (datatables) with which I create a row (row) as a grouping (Example Image) The problem is that in the title of each row I...
asked by 12.07.2017 / 23:13
1
answer

How can I hide a parent in an OrgChart?

Could someone help me and tell me how to hide the father and keep showing the son in an organizational chart. Example: It is required to hide the father ('SG001') and continue showing the son ('AA014'), giving continuity to the line and leavi...
asked by 12.07.2017 / 18:24
0
answers

serviceworker in universal angular

I'm trying to use services worker with universal angle, all right, except for one thing, I have my client.js file which is the minimized file of angular.js This is my index.html <html> <head> <meta charset="UTF-8"> <...
asked by 12.07.2017 / 22:26
1
answer

Problem is absolute bootstrap positioning

I have two rows in bootstrap. In the first row a cabbage with an image with absolute but responsive position. The problem is that the second row is superimposed on the image. How do I make the height of the div containing the image responsive...
asked by 23.05.2017 / 05:44
1
answer

Morris.js does not correctly show me the X axis

I have a graph like the following: the data of the graph I take from this URL and my javascript function is the following: function charts(){ {% for coin in UserCoins %} $.get("https://min-api.cryptocompare.com/data/his...
asked by 29.07.2018 / 18:06
4
answers

How to activate and deactivate JavaScript button

I can not find the solution for once I click on "remove" the button Buy re-enabled. I tried to put an if in the addCard function || put an if in the delete function. I've even tried doing another function for enable and call it on the purchase b...
asked by 29.08.2017 / 15:01