Questions tagged as 'jquery'

2
answers

Check string? [closed]

In event keyup of a input I want to check the following cases: If string has letter and number "abc123" ; If string is uppercase and lowercase "aBc" ; If string has numeric alpha character...
asked by 28.12.2015 / 21:09
1
answer

Problem sending JSON via ajax to PHP

I've been trying to solve this problem for 2 days, I saw some questions from the site, but none solves the problem. I'm putting Ajax in my CBT login, but it will not, it does not make a mistake. I already made a file_exists in the path of...
asked by 12.09.2018 / 03:35
2
answers

Event does not work after executing replaceWith

I use this plugin: link Follow JSFiddle: link After clicking on the "replaceWith" button, the "Confirmation" button will no longer work. Follow the code below: $('#teste').confirmation(); $("#replaceWith").click(function() { $(...
asked by 30.07.2018 / 17:36
2
answers

How to remove the position of an array with jquery

I'm trying to remove a position from the array with slice, from what I saw until I can only get the position of this array, how would I get value? Because the position of the array changes a lot in each situation, I'm trying this way: if($j('#...
asked by 30.01.2018 / 13:18
3
answers

Execute a function after full page load

I have a page that loads several tables, then organizes them into tabs. Would you like to perform a function when you have finished loading the page?     
asked by 02.05.2018 / 19:42
2
answers

Reorder HTML structure via jQuery

I have the following structure: <div class="chosen-container chosen-container-multi" style="width: 300px;" title="" id="Promocoes_chosen"> <ul class="chosen-choices"> <li class="search-field"> <inp...
asked by 05.11.2014 / 18:06
2
answers

Include class as link

I have a div that will contain in your hover a specific color, this color will depend on the a that exists above it. .homeNoticiasOpacidade { width: 100%; height: 100%; background-image: url("../imagens/enge...
asked by 10.12.2014 / 13:46
2
answers

How to select exactly the searched element in jQuery independent of classes or ids?

If you run the code, the second form is influenced by the first one and does not take the data for itself. Of course this is a flaw in my jQuery. The first form works perfectly, the second one always takes the last value sent by the first one....
asked by 21.10.2014 / 19:26
1
answer

Using val () in script causes me to lose line breaks

I have a problem. I'm implementing a chat page using the following script: <script> $(document).ready(function(){ $("#enviar").click(function(){ var mensagem = $("#campodetexto").val();...
asked by 17.11.2014 / 19:01
3
answers

disable button per second with jquery

Well I'm putting together a custom button with css. I need to keep it locked for 2 seconds after the first click, but it is not working. When clicking I change the text to an icon, and after 2 seconds the text has to go back and the button has t...
asked by 28.03.2017 / 18:58