Questions tagged as 'jquery'

1
answer

Function jQuery return message validation instead of alert

I have this function, which works perfectly: $('#FornecedorNovo').submit(function (e) { e.preventDefault(); var url = "/Fornecedor/VerificaInscricao"; var Insc = $("#InscricaoEstadual").val(); var form = this, $form =...
asked by 01.10.2018 / 16:49
1
answer

Play next video automatically

I want to make a local application that plays the videos selected by the user through checkbox , and as soon as one video is finished, the other one starts. <!DOCTYPE html> <html lang="en"> <head> <meta charset="...
asked by 30.09.2018 / 21:53
1
answer

Make Script work in loop

As I'm not aware of javascript I need a help on how to make this script work in the loop. His problem is that auto complete only works on the first line. if we add another line it will no longer work. Run the script and test you will see t...
asked by 30.09.2018 / 21:22
2
answers

Validate fields from a select by jquery

I have a form using step wizard as per the link below: link It works correctly, but I've seen that field validation only works for input fields. How could I do to validate also combobox fields? Check out his jquery: <script> $(...
asked by 15.09.2018 / 18:12
1
answer

JQuery Tab System Javascript

I have a system with tabs in JS / JQuery , which unites it with Owl.Carousel , I have tried everything to fix the error and I do not understand what may be causing the conflict. When I load the page, and I change the tab for the first tim...
asked by 15.09.2018 / 08:20
2
answers

Jquery click event

I'm trying to use jQuery to do something like: if($('#id').click) { //Eu sei que quando este elemento //for clicado ele vai fazer algo aqui, mas, eu queria em um //outro momento fora da função saber se foi clicado ou não } if($(...
asked by 24.10.2018 / 22:04
1
answer

How to get the link from a specific bootstrap tab

I have a page that uses the Tabs navs of bootstrap 4.1, I'm looking for and I can not find a solution, I want to make clicking a link open a specific 'bootstrap' tab. In this example: <script src="https://ajax.googleapis.com/ajax/libs/j...
asked by 24.10.2018 / 00:16
2
answers

JQuery - Press ENTER to push a button

I have a JavaScript / JQuery code that I also wanted to execute the function or click the button, or the button to be pressed with the enter when typing. Detail that this is just a test I'm doing, nothing serious, it's not a login system or anyt...
asked by 24.10.2018 / 17:38
1
answer

Accordion does not change icon

I am testing the .toggleClass, but in this accordion, you are not changing the icon from plus to minus when you click on the element: function toggleIcon(e) { $(e.target) .prev('.panel-heading') .find(".more-less")...
asked by 11.09.2018 / 15:20
1
answer

Return not working in function

I have this function, but the return does not work on it, I do not want it to get out of it as long as it does not fit the function: if ($('#FreteComprador').prop("checked") == true) { var id = $("#idtransportador").val(); var...
asked by 19.10.2018 / 20:20