Questions tagged as 'jquery'

0
answers

How to switch the toggle switch through the database

I'm trying to change the bool to true or false in the database by changing the toggle switch to true or false. <script> $(document).ready(function () { for (var i = 0; i < '@Model.Participantes.Count()'; i++) { if ($('#Par...
asked by 31.05.2017 / 11:54
0
answers

Disordered slide

I'm having a problem trying to make a slide effect with java, but this is a problem, the images I chose are getting out of place as they can see below, I'll post the codes here who can help me thank you, Hugs !!! @charset "utf-8"; /* CSS...
asked by 25.05.2017 / 17:07
1
answer

Calling distinct functions via Ajax with Jquery in PHP

I have the following example: My HTML file has this snippet of code: <script> $( "form" ).submit(function( event ){ event.preventDefault(); $.ajax({ url : 'funcoes.php',//url para...
asked by 08.06.2017 / 18:16
1
answer

How to do Frontend Integration with Java? [closed]

I'm a beginner in frontend. I am making a system using html, bootstrap, javascript and jquery. I'm going to have to do the integration with java . I would like some guidance. I do not know where to start. I'll ask you some questions: Wha...
asked by 21.06.2017 / 21:01
1
answer

Add a different image in a div to each loop using javascript

I need to add a different image to a div. For this I used a for to do this loop. Is there any manipulation I can do in the img tag that I'm adding so that every loop is changed in the image name? for (i = 0; i <= 16; i++) { $('#p'...
asked by 21.06.2017 / 22:43
4
answers

How to change the color of the radio button text when you lose the selection

I'm trying to change the text color of the radio button when I lose the selection. It happens that these radio buttons are in several tables. The rule is as follows: The screen will be loaded with some one radio button selected per table. When t...
asked by 20.06.2017 / 19:49
1
answer

Filter does not work because of accentuation problem of return, what to do?

I'm working with datatables and php, so server side . I've been making custom filters with it, everything working ok, with a save exception, words that have accent, does not work in the filter. Let's say, I select the following company:...
asked by 10.05.2017 / 15:36
0
answers

How would an event similar to what occurs in the input range?

I'm creating a custom progress bar for videos, however I'm having a hard time detecting when the user tries to drag the pick across the video bar, I want to simulate something like what happens in a input type rage <input type="r...
asked by 08.05.2017 / 03:32
1
answer

How to show buttons for each menu option?

$(document).ready(function() { $("#myModal").modal('show'); $('#myModal').on('show.bs.modal', function(e) { $('.chosen-select').chosen(); }); }); <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min...
asked by 02.05.2017 / 19:31
1
answer

How to sort a select option alphabetically with jquery?

I have a select option to list through a each in jquery what I want to do now and sort this each in alphabetical order when listed. Jquery $(document).on("click", ".btn-add-agent-proximo", function(e) { if($('#add_agent').is...
asked by 02.05.2017 / 17:55