Questions tagged as 'javascript'

0
answers

compatibility problem with input search button and search bar

I have this button that opens a top bar when the screen is less than 1080px and when it is greater than 1080px opens a horizontal line to do the search, but I have a problem with mobile, when I click on the button from my mobile device the top b...
asked by 10.01.2017 / 23:16
2
answers

Render html with angular attributes from the angle controller

I'm currently trying to render an html from a method in the angle handler like this: me.func1 = function (codDep) { var str = ''; angular.element(document.querySelector('#ligas')).remove(); str += '<div id="ligas">';...
asked by 19.01.2017 / 17:40
2
answers

Delete fields from a form after confirming shipment with AJAX

Hello friends, good evening, I require your support in the following. I am creating an HTML5 contact form using JS and validating the submission through AJAX. What I need is that when the form is sent it is updated after about 5 seconds so...
asked by 11.01.2017 / 03:44
1
answer

Problem with autocomplete jQueriUI this.source is not a function

I have a problem applying the autocomplete module of jQueryUI . It sends me an error saying "this.source is not a function". I'm working with jQuery and AngularJS . I'm using JQuery 2.1.4 , JQueryUI 1.11.2 and Angular 1.3 Here I le...
asked by 11.01.2017 / 20:38
1
answer

What is the correct way to do this FETCH to send an image?

fetch ('http://localhost:3000/api/demos/create/${this.state.name}/${this.state.img}', { method: 'POST', }) The problem with this method is that it sends me this request and it's wrong http://localhost:3000/api/demos/create...
asked by 19.01.2017 / 18:14
1
answer

Filter DropDownList data with another DropDownList

At the moment of selecting a data in the first DropDownList1 , in the second DropDownList2 , it will filter with an query of SQL and the new data will be placed in its list. At the moment I only have this method: public void d...
asked by 18.01.2017 / 16:32
3
answers

Synchronize audios with HTML5 and Javascript

I want to merge two audios into one to synchronize them with HTML5 on the client side. I've seen that with Web Audio Api you can do many things, but I have not been able to find how to do it. I have the link to two audio files (.mp3, .wav ......
asked by 22.07.2016 / 09:39
1
answer

Problem with LocalStorage

I have a problem with my code: var llistaColors = ["grey", "black", "blue", "yellow","red","purple", "green", "white", "orange", "pink"]; var llistaNomColors =["Gris", "negre", "blau", "Groc", "Vermell", "lila", "Verd", "blanc", "Taronj...
asked by 16.03.2017 / 19:00
3
answers

Problem to add class in second click to DIV

I'm new to this and it's my first message, I hope to do it right. I have a DIV with a white background which when you click on it, its background changes color to red, besides a message appears asking the user what action he wants to perform....
asked by 17.03.2017 / 04:03
2
answers

Custom validation error Html and Javascript

Good afternoon, I've been studying about 2 weeks web programming and javascript. This time I'm trying to validate my form in php, but whenever I send it, it does not show the validation errors and the default validation of html appears. This...
asked by 13.01.2017 / 19:22