I have an application in VUE in which I make requests to two APIs, one is mine and the other is from a third party, with mine I have no problems, I can authenticate and make requests correctly, in the main.js I put defect an interceptor that wil...
I am currently consuming a API , everything is fine but when I want to show the values in a select I do not print anything.
La Api returns the following:
{
"producto": {
"id": 1,
"codigo": "PRO-0001",
"nombre": "D...
I have to merge two objects into one, I put simple examples of what I need to do:
var obj1 = [
{ Prop1 : 'Valor 1A', Prop2 : 'Valor 2A' },
{ Prop1 : 'Valor 1B', Prop2 : 'Valor 2A' },
{ Prop1 : 'Valor 1C', Prop2 : 'Va...
Basically I would need your help so that when I press the question button and the answer opens scrollie so I can see the answer on the screen. Since what happens when I open the third question I can not see the answer and I have to go down scrol...
I have the following code that allows you to pass an element, in this case inputs, from one div to another by a button or drag and drop. The idea is that when an element of div1 is passed to div2, it remains in div1 but also passes to div2...
I'm trying to create a function in Javascript with which to check the inputs with the required attribute in true.
The problem is that although this is specified as false, the result it gives is true.
Sample code:
var serial_no = do...
I have followed these steps to make a notification on my website:
link
link
And this is what I have:
$(document).ready(function() {
theBody = "" +
"<div style='background: #0055a0; color: #ffffff'>" +...
I'm creating a chat with sockets on nodejs that say it's very good. Then I create an array:
let nicknames = [];
that will save the names of users so that later the frontend will be in charge of showing them in a list. That works perfect for...
Hello when running an application on localhost I get the following error. Before it did not happen, I modified the file server.js where the port runs, but never before had this happened to me. The port runs as seen, passes build, gulp and the pa...
This helps me but what interests me is linking to a page in this case a form, but I would like to know how it can be done in javascript within the dblClick function
<script type="text/javascript">
$(document).ready(function(){
$...