Questions tagged as 'javascript'

1
answer

Connect to the google calendar API

I'm trying to connect to the Google Calendar API const API_KEY = "AIzaSyACg6feWvXYw_czwB7yYZxr2HFZw8Wjd9k" axios({ method:'get', url:'https://www.googleapis.com/calendar/v3/calendars/primary/events?key=${API_KEY}', headers: {...
asked by 06.10.2017 / 08:34
1
answer

How to make the scrolling of my website work in Google Chrome?

Greetings, my problem is the following I have a website hosted in Wordpress and has always worked without problems until today, for some reason in the browser Google Chrome scrolling does not work with the mouse wheel, but in other browsers if i...
asked by 05.10.2017 / 21:31
0
answers

Show data from json to a datatable in php

Good evening; I hope you can help me, I have a small problem when displaying the data within a datatable, the data if they are shown in the index but not within the datatable. This is the JS code inside my index.php $(document).ready(functi...
asked by 01.10.2017 / 03:08
2
answers

Sending form with jquery and ajax [closed]

I have 10 dynamic forms, to identify them I put a counter that goes from 1 - 10 depending on the forms that are created in the database. How can I send 1 of these forms to me only when submitting? I have tried and jquery tells me the 10 fo...
asked by 13.11.2017 / 21:19
0
answers

Extract profile picture API login facebook with JavaScript

I have this JavaScript code and I want to extract the profile photo from facebook to save it in my mysql database. I have tried many things and I can not. function fb_login(){ $('#myModal').modal('toggle'); FB.login(function(res...
asked by 28.09.2017 / 23:08
1
answer

Insert after a Form-Group

The following code causes my new element to be inserted after the input element: .validate({ errorPlacement: function (error, element) { element.after(error); }, I mean, I have this HTML code: <link href="https://maxcdn.bootstrap...
asked by 20.09.2017 / 16:15
1
answer

Mercadopago Checkout Javascript Mobile

I have the implementation made for desktop and it works correctly in modal mode function openCheckout() { $MPC.openCheckout({ url: "{{mp_preference.response.sandbox_init_point}}", mode: "modal",...
asked by 18.09.2017 / 19:42
1
answer

Datatbles js does not detect the displayed data

At the moment of wanting to initialize a table of Datatable js without ajax I can not show the data that the view already showed, I put the following example code <table id="products-table" class="table table-bordered table-striped table-ho...
asked by 18.09.2017 / 17:27
2
answers

Codeigniter get values of an input or a variable from the controller

I'm new to codeigniter and I wanted to know if you can get the value of an input tag or a php variable from the controller. What I want to achieve is to send data from one visa to another in a similar way to the POST method (without the values b...
asked by 11.09.2017 / 19:25
1
answer

Ajax does not work on the server

I have a form in which I check by ajax if the ID and / or email already exist in the DB. In the "local server" it works correctly, but when I upload it to another external server it does not work. Somebody could help me? Thanks. my code: &...
asked by 23.09.2017 / 22:10