Questions tagged as 'javascript'

2
answers

From Jquery to Javascript

I would like to know how is this Jquery code to Javascript $(document).ready(function(){ $('#nav-icon').click(function(){ $(this).toggleClass('open'); $(".overlay").toggleClass("open"); $(".overlay a").toggleClass("open");...
asked by 03.12.2018 / 22:34
0
answers

Insert the value of two combos into a database table

I have two combobox, I can deploy them well, without any problem, the problem is that when I insert them into the database, I only add values from the first combobox, I do not know what I'm doing wrong, maybe something is missing from javascript...
asked by 02.01.2019 / 14:51
0
answers

Error importing ReactCSSTransitionGroup into BeyondJS

At the time of importing ReactCSSTransitionGroup into the control module.json and entering the browser, the console shows Error: Script error for "ReactCSSTransitionGroup" . My intention is to implement animations according to the doc...
asked by 02.01.2019 / 17:29
0
answers

hide and show hidden divs

In my code I have n number of divs generated dynamically in the left part, where they take as id the name of a columan called user in my database, in my database I have id, user, and in the right side also dynamically generate the divs with the...
asked by 04.12.2018 / 23:38
1
answer

Get html element of an AJAX request with JSONP

I am making a request with ajax and javascript, the answer of this request is a complete html page, of this answer I need to obtain the value of an element <input type="hidden" name="key_solicitud" value="este es el valor que deseo obtener...
asked by 04.12.2018 / 23:12
0
answers

refresh parent page

Good morning everyone, I have an html page, which opens a new tab with a target = '_blank'. Is there a way that when you finish performing operations in the new tab you close it alone, and also refresh the page that contains your link? Not...
asked by 04.12.2018 / 22:01
0
answers

how to use websockets?

please I need your help I'm creating an app and I want to send data through websockets but I do not know how to receive the data and create a page to send example: pagEnvia.html and I want to receive the data in my index.php I have this code tha...
asked by 05.12.2018 / 00:11
1
answer

AJAX function with VUE

I would like to know in what way the following code can be done but with VUE, I would like to venture into this new technology but I do not have much knowledge about it then I would like to pass the next ajax call but with VUE, I have already lo...
asked by 03.12.2018 / 16:29
2
answers

PHP IF if two conditions are met search

I'm doing a search engine, with 3 variables, these are with Ajax but I can not get the result of joining two of them. I pass the code to see if you can give me a hand, thank you very much. <?php require("php/db.php"); ///////// parametros q...
asked by 03.12.2018 / 16:38
0
answers

Replace put value in modal input bootstrap

I want to replace the way to put the value in an input to a Bootstrap modal window by Jquery, the traditional way is as follows: $("#miModalId #MiInputID").val(MiValor); said code I want to do only with pure Javascript, the code of Jquery w...
asked by 03.12.2018 / 16:22