Questions tagged as 'jquery'

1
answer

input effect using jQuery

I'm making a input with an effect equal to Android. Well here in this example I put input and select . input is working perfectly, when it is with the focus it turns blue. But select does not turn blue, can any...
asked by 11.08.2016 / 12:57
2
answers

How to remove "disabled" attribute from select parent option?

I need only select the option "Leader", it does not assign "disabled", only in the other selects daughters. The logic is that only one user can be a leader, but when selecting a leader, this option is disabled, and at the time of sending the...
asked by 23.11.2016 / 10:44
1
answer

How to return a file in an input type file field?

I have an html form that uploads a file and I can save it to a folder. The problem is that now I need to do the reverse operation, and return the file in that same field of type input type file so that the user can edit. Someone can give me a ha...
asked by 03.02.2015 / 11:29
1
answer

Template Layout and Routes

I'm working on a system that uses MVC as follows, View -> HTML,CSS Model -> PHP Controller -> JS Basically, all system actions work in the following order: User triggers some action in js it valida...
asked by 17.09.2015 / 21:59
2
answers

Jquery Autocomplete

I'm having problems with Autocomplete, I can pull data but autocomplete does not work! $("#marcas").autocomplete({ source: function (request, response) { $.ajax({ type: 'GET', url: 'http://fipeapi.appspot.com/api/1/carros/m...
asked by 24.09.2015 / 17:32
1
answer

Registration form php WITHOUT database

I'm learning php and I need to create a form using only html, jquery, ajax and php without making use of the database. Inherent data should appear in a table below the form I was instructed to do using session, however, I do not know how to do t...
asked by 24.09.2015 / 17:37
1
answer

Internationalizing web app with jQuery i18n plugin

I'm trying to use this jQuery plugin to internationalize my web app. Specifically, I'm wanting to use the API data in the fields to translate but alert returns "one" and not "ONE" and the spans tags remain with One and Two. Page...
asked by 23.09.2015 / 22:46
1
answer

Check if there is a Jquery internet connection

Does anyone know of a good function or a good way to check for an internet connection before making an ajax request?     
asked by 21.07.2016 / 14:03
2
answers

When I put input inside some div the javascript does not work

I want to apply the css in a form but when I put the inputs inside some div the javascript does not work See the code: In case when I type the email and the password was for the blue button to be activated. <style> .btnDisabled{...
asked by 28.10.2017 / 19:09
1
answer

How do I prevent the child element from activating the parent element's event?

The click event set for the optgroup element is also enabled when a option is clicked. How can this behavior be avoided? $("optgroup").on("click", function() { console.log($(this)); $(this).children().prop("selec...
asked by 10.10.2017 / 16:10