Most voted "jquery" questions
jQuery is a Javascript library focused primarily on DOM handling, event management and Ajax, seeking to free developers from directly dealing with a number of browser compatibility issues.
Learn more…11,371 questions
Sort by count of
-
0
votes1
answer222
views.on load - does not work JQUERY
Really, I couldn’t understand. In the past I always used jquery’s load function like this: $('#db0077').load('/inc/aula.php', function(){ alert('dentro do load'); }); Now this function is obsolete.…
-
0
votes0
answers27
viewsHow to use the click() function with a Toast
I made a system that when the user enters the index is displayed a materialize Toast, I need that when the user click on it it is redirected to another page, I tried to do as follows but I was not…
-
0
votes2
answers565
viewsDoubt with using jquery.maskMoney with Asp.net mvc
I’m using it to form a value , but it’s not working, I have my partial view, this way: _Formularypossibility.cshtml @model Generico.Dominio.TB_POSSIBILIDADE <script type="text/javascript">…
-
0
votes2
answers732
viewsRetrieve via Jquery custom "date" attribute value
I am a beginner in programming and I have a question about Jquery (if I’m wrong, please correct me...). I have a screen that generates several div’s dynamically with information about clubs, and…
-
0
votes2
answers1875
viewsJquery mask does not work
I’m trying to use the jquery mask, I’ll use it a < input > added by javascript by the action of selecting a < option >. <script src="jquery-1.5.2.min.js"></script> <script…
-
0
votes0
answers85
viewsStore global Ajax data return
I am currently using ajax making several different requests for queries. Ex: $.ajax({ method: "POST", url: "getData.php", data: { nome:nome, endereco: endereco } }) .done(function( data ) { var…
-
0
votes1
answer129
viewsHow to redirect to an action on Asp.net mvc, using jquery?
How to redirect to an action in ASP.Net MVC, using Jquery? I’m trying to do it like this: $("#Filtro").change(function () { @Url.Action("Answer"); });
-
0
votes1
answer423
viewsInput type password show password
I followed some tutorials to get the display input Like this one here :http://jsfiddle.net/cj3kmxL4/1/ But when I run on my pc it gives the following error: Code:…
-
0
votes0
answers27
viewsLink open on another page
I have a button in a form that is responsible for generating a report, but I need this report to be generated in another page. The button is mounted as follows. <a title=\"Gerar relatório\"…
-
0
votes1
answer161
viewsCapture document width with scroll bar
Good afternoon, I’m making a responsive site where I use CSS with media="screen" and jQuery. Problem: However Javascript and CSS do not recognize the same document width value when the page has some…
-
0
votes0
answers43
viewsI can’t control form Focus and field validation
I am in the following situation, I have three formularies, which are displayed through the event click the buttons associated with them, disable the buttons and try to validate the fields of each…
-
0
votes1
answer24
viewsProblem with the Isotope and the loadmore
I have customized an Isotope scritp with the "loadmre function". It is working correctly, but when clicking on any of the filters, the "Hidden" class is removed and there is a "hole" in the footer.…
jqueryasked 6 years, 5 months ago Rogério Pancini 119 -
0
votes1
answer254
viewsCapture the value of a table cell and save to a variable via jQuery
I have the following table <table class="table"> <tbody> <tr> <td scope="row">teste</td> <td id="teste" name="teste" class="teste">1</td> </tr>…
-
0
votes1
answer826
viewsModal Bootstrap data insertion with PHP OO
I am developing a client registration screen with PHP OO but due to my inexperience I am finding it difficult to list client data within a Modal Bootstrap. First, I have this list of Client Objects…
-
0
votes1
answer94
viewsRemove class from a div with a specific ID
You can remove a class from a div with a ID specific? That one div is dynamically inserted through the append, and each receives its own ID. Only there are times I need to remove only ONE div which…
-
0
votes1
answer24
viewsFailed to load a function with jQuery selector
When you click a button, I need you to press my JS function. To load this function, clicking the button only works if you inform the button with the attribute onclick, stating the name of the…
-
0
votes2
answers1286
viewsHow to get the value of an attribute in Jquery?
Here’s what I need to do: when a person clicks on an image, the display attribute of a 'ul' is changed to block, and then, when that person clicks again, the attribute value is 'None'. I wanted to…
-
0
votes1
answer706
viewsJquery - How to use a href link to call a dialog
I need a command that opens a dialog every time I click a link... <map name="Mapeamento"> <div id="dialog" title="Imagem1"> <p>Informação 1</p> <p>Informação…
-
0
votes1
answer48
viewsng-click or jquery alternative
I need, when clicking on the Thumb image, write the image clicked on the div . currentImage Script .directive('galeria',function() { return { templateUrl:'scripts/directives/galeria/galeria.html',…
-
0
votes1
answer26
viewsDetect which tag is being selected
Hello! I have a jquery function that is triggered by two tags ("select" and "input") as in the code below: $('.checkout-wrapper').on('blur', '.woocommerce-shipping-fields input,…
-
0
votes0
answers38
viewsHow to load 2 ajax on the same page?
Hello. I would like to have this ajax query return the value to be placed next and feed to the chart. I am running, but the value is not being loaded, the graph appears empty. Any problem in loading…
-
0
votes0
answers51
viewsjQuery with Angular and React
I started studying Angular and React recently and I have a question for those who are experienced with these technologies. Using them together with jQuery is inappropriate?
-
0
votes1
answer26
viewsOpen modal from a span hierarchy
How to make both a parent element and a child element being of the "span" type capture the attributes for a modal type event, regardless of the span hierarchy in the text? I already have a text that…
-
0
votes1
answer208
viewsAutomatically select <option> with click/select action
I have the following form: <table id="products_stock" class="table"> <thead> <tr> <th class="active">Produto</th> <th class="active">Categoria</th> <th…
jqueryasked 6 years, 4 months ago Sr. André Baill 6,946 -
0
votes0
answers171
views -
0
votes1
answer74
viewsWorking in html inside a variable
I have a variable that contains a string with an HTML code, within that code I have some <input type="text">. What I need and I couldn’t find a solution, is to change the value of those…
-
0
votes0
answers53
viewsI cannot manipulate data coming from the Web Service (Json)
I’m trying to get the result of a request for an API (json), and send it to another function that will record to localstorage, I even got it with the product value, but with the name that is string…
-
0
votes3
answers730
viewsDatatables export to Excel and format a text column as currency (accounting)
I’m trying to convert a numerical column 8.5 in accounting currency (R$ 8,50) when I use export Excel of jQuery Datatable, but I was unsuccessful. My spine is like this: { "data": "Valor2",…
jqueryasked 6 years, 4 months ago Elcio Santos 76 -
0
votes1
answer66
viewsNon-fixed menu at the top when loading the scroll page in the middle of the page
So I’m having a problem and I’ve been racking my brain. I made a top menu, in which are the social networks and a second menu below with the site items. The problem is that I made sure that when the…
-
0
votes1
answer35
viewsecho within $.ajax
HTML: <ul class='border ulHRelatorios'> <li style='text-align: left; width:79.05%'>Houve SUPERVISÃO?</li> <li class='centralizado' style='width:10%; border-left: .1px solid…
-
0
votes1
answer54
viewsPerformance between index() and hashmap . get()
I’m having a performance issue with my application and I’m thinking it might be the various .get() that I give, this way I’m considering transforming these hashmaps for arrays and use the indexOf()…
-
0
votes3
answers82
viewsProblem recognizing this.id in jQuery
I have a code below in Javascript that picks up the td that was clicked and copied to the clipboard, but it is not working. The error you see on the console is: (test). select(); is not a Function…
-
0
votes1
answer687
viewsJson in Jquery returns Undefined
Although I have looked at all the various questions about it, I cannot make my json work, the code is like this: $.ajax({ url: '<?= base_url('login/Pesquisar'); ?>', type: 'POST', data:…
-
0
votes1
answer82
viewsjstree create new Node does not work
Guys I’m using the jstree to create a tree. I’m trying to create a new Ode, but I’m not getting it. The first level of Node will already be loaded into html, so only the next ones will be added by…
-
0
votes1
answer35
viewsProblem Deleting Row in SQL Table with Ajax
I’m with a function, trying to delete a row from my sql table, but nothing has happened. HTML: <span class="action"><a href="#" id="<?php echo $id; ?>" class="delete"…
-
0
votes2
answers431
viewsEnable and disable php button
I have this edit button which is always available for editing: <a type="button" name="edit3" id="'.$row["Id"].','.$row["IdConsulta"].'" data-toggle="modal" href="#add_data_Modal3" class="btn…
-
0
votes0
answers23
viewsCompare jquery points
How do I make a Jquery for a input with the function of... (take what is written on the input and compare whether it is greater or less with the points he has recorded...) EX: <script>…
-
0
votes2
answers92
viewsProblems with sending form
I have a problem with my code. I have a page that has a modal form that opens by clicking a button in the header menu (which is the same on all pages of the site and is added to the pages via PHP).…
-
0
votes1
answer27
viewsConcatenate problem using jQuery
I have the following example that I cannot do. I have a div: <div class="dados" data-attribute="2" onclick="bloquearSacado(1,2);"> <p>Teste</p> </div> And I have the…
-
0
votes1
answer35
viewsChange element generated through the event of an already ready element
I have the following HTML code: <div class="header"> <ul class="navigation"> <li><a>Home</a></li> <li><a id="limpar">Limpar</a></li>…
-
0
votes1
answer499
viewsSlideToggle() effect to open horizontally + Jquery (horizontal menu)
<!doctype html> <html lang="pt-br"> <head> <meta charset="utf-8"> <link rel="apple-touch-icon" sizes="76x76" href="assets/img/apple-icon.png"> <link rel="icon"…
-
0
votes0
answers21
viewsChanging Webkit properties with jquery
I want to change a Webkit property using jquery, I have something like this for now. $("#videoExe").css({ '-webkit-media-controls-timeline': 'display="none"' }); But nothing happens at all...…
-
0
votes0
answers48
viewsProblem with relationship between two SELECT filled with PHP
Hello. (I asked a question about it these days, but I could not get results with the answers). I have two selects (which are filled with PHP data coming from mysql database). I would like when I…
-
0
votes1
answer167
viewsChange button behavior according to URL
How can I change the behavior of a button according to the URL? I have the following URL, e.g.: site.com/search/hill climbing machine the button would be something to filter according to the price,…
-
0
votes1
answer197
viewsTab system in jQuery with page Reload
Good guys, I put together a very simple flap system, with the help of Stack’s people. Well it works 100%, but there are some cases I need to get the page updated when bouncing in the tab1. I tried…
jqueryasked 8 years, 10 months ago Hugo Borges 5,294 -
0
votes2
answers127
viewsConvert Jquery to Javascript
Good afternoon, I would like to convert this code below to Javascript: $('.circles > div').click(function () { let index = $('.circles > div').index(this); $('.circles >…
-
0
votes2
answers1300
viewsHow to replace a string in Jquery or Javascript
I have the message "- Do you really want to transfer the questions from..." How do I remove (replace) from the beginning of a message the dash "-" ? Follow the function that prints the message:…
-
0
votes1
answer154
viewsGet generic input field checked with jQuery
I’m having a hard time getting the value of checkboxes marked through jQuery after a Ubmit. It turns out that the input checkbox fields are generated dynamically by a database query, and I’m not…
-
0
votes0
answers33
viewsContent-Disposition header is null, using Jquery $.ajax
I need to catch "Content-Disposition" header on https Response .. about a file download, but it fails. I’m using Spring (Security) REST with HTTPS. My frontend is made with Jquery. I appreciate any…
-
0
votes0
answers123
viewsGet id plus value entered by user
I am mounting a table via Javascript as follows: itens += '<table border="0" class="table table-hover ">'+ '<thead>'+ '<tr class="table">'+ '<th style="text-align:center;"…