Questions tagged as 'javascript'

1
answer

Problem with Route in Angular 6

Hi, I want to create a route, I followed a tutorial step by step and I can not make it work app.module.ts import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; // Routes import {AppRoutingModu...
asked by 14.05.2018 / 22:12
1
answer

Graph with Highcharts

I have the following graph in Excel: And I want to move it to Highcharts graphics to be able to use it in a browser, I'm using asp and js. But I do not achieve the result I want, now I have the following way: The problem I h...
asked by 19.06.2018 / 00:43
1
answer

I want to hide the buttons if there are less than 50 words and I can not do it. The hide function () does not hide them. why?

<script language="javascript"> $(document).ready(function(e) { $("#b_ocultar").hide("fast"); }); function mostrar(){ $("#texto").show("slow"); $("#b_mostrar").hide("fast"); $("#b_ocultar").show("fast"); } function o...
asked by 20.04.2018 / 07:18
2
answers

Access tokenfield elements

I am creating tags of products through an Ajax search, similar to stackoverflow $('#_keytags').tokenfield({ autocomplete: { source: function(request,response){ $.ajax({ url: route...
asked by 19.06.2018 / 07:54
1
answer

Google ReCatpcha

I have a problem in understanding the Google ReCatpcha, here is my html code <form id="contact-form" class="contact-form" action="contact_form_handler.php" method="post" novalidate="novalidate"> <p> <input id="name" class="r...
asked by 20.04.2018 / 07:01
1
answer

How to compare two arrays with text strings and create a new one from repeated words in these

I have two arrays, one with a text with more words and the other with the text that I should compare, the problem is that there is a word that appears twice in each array so when I run the code it repeats itself in the new array, when it should...
asked by 17.04.2018 / 17:56
2
answers

List an array of objects from JQuery, RESTful service using @GET, Java HTML

I have a RESTful service which stores data through a JQuery that sends a json to a POST method that inserts the object into the database. I also have a method that reads the records from the base, and stores them in an arrayList of objects, w...
asked by 17.04.2018 / 04:17
1
answer

Problem with jQuery ui and select2

At the moment I'm trying to solve a problem I have and that is when you activate the function datepicker of jQuery ui and% select2 only take me the first box of the table, can you help me as I do so that I put the attributes of...
asked by 17.04.2018 / 16:41
1
answer

How do I make it from the 2nd click and find the active class, delete it

How do I make it from the 2nd click and find the class active , delete it $('.siniestros button').click(function () { $('.siniestros>button>.before').addClass('active'); $('.siniestros>.preguntas').slideToggle('fast',f...
asked by 17.04.2018 / 22:43
1
answer

Change points by markers in OpenLayer map (javascript)

I have a problem with the following code, since I can not change the points that appear by icons and insert the click event so that I get a message. If someone can help me even to change the points for icons I would appreciate it because it is h...
asked by 10.04.2018 / 23:38