Questions tagged as 'jquery'

1
answer

Erase row of a table with javascript

I have a table with several elements (partners), and I need to make the delete button work. But whenever I put the event button it deletes all elements and not just the line I want. <table id="parceiro" class="table table-bordered table-str...
asked by 05.12.2017 / 13:49
1
answer

Unwanted characters using jquery + php

I'm having a little problem, when I use the jquery append to display elements returned from a php query. Note: this is not the full append, it's a bit long and I've just put the part I need you to see. $("#topics").append('<div class="to...
asked by 05.12.2017 / 23:50
1
answer

Do something after an external script is fully loaded via jQuery append

I have an external <script> being added to the page via jQuery with: $("body").append("<scr"+"ipt src='url_do_script.js'></scr"+"ipt>"); This script adds some elements to the page (some tags). The script works perfe...
asked by 05.01.2018 / 01:07
2
answers

Return PHP values via Ajax and display in HTML (separately)

How can I return values from a PHP page via Ajax and display them separately? Ex.: I have a PHP page in which I have the return values: <?php echo $a; echo $b; echo $c; ?> Currently I can determine via Jquery that they are displaye...
asked by 03.12.2017 / 16:47
1
answer

Returning select value with javascript / jquery

I'm developing a software and I need to know which option the user selected and returned in the console.log, but I tried several functions and none worked. How do I get this return? function verificar() { // aqui seria a fu...
asked by 18.12.2017 / 18:33
2
answers

Multiple form ajax request, with javascript function

I'm having trouble sending forms correctly, I have several forms, each with its id, and a function that I call on all forms: <script> function enviaForm(id){ $(id).submit(function(){ var camp1 = $("input[name='a2']:checked")...
asked by 12.01.2018 / 19:55
1
answer

Javascript does not load function

I have a javascript file ' cep '. where it has a method called displays (); but when I run this method in my current file that is on the page next to HTML, it does not work, why? cep.js $ (document).ready(function () {      function exibe...
asked by 12.01.2018 / 22:13
1
answer

Scrool Mouse Accompanying lines, with css and jquery

I need to make sure that the scrool of the mouse is running down, it follows a line to the side, this I was able to do, as I show in the link below Click here to see the example My difficulty is when you open the page and Two Lines alr...
asked by 24.11.2017 / 17:02
1
answer

progress bar does not work jquery

I'm trying to make a progression bar work, but I do not know what's happening, it does not give any errors on the console, but the progress bar does not move. $(document).ready(function(){ $('#js-upload-submit').click(function(){ $...
asked by 26.11.2017 / 05:33
1
answer

How to enable or disable select closest?

I'm using Materialize CSS, I have a screen where I would like the Switch to be activated, the closest select becomes active so the user can select an option, and if the Switch goes back to inactive the select also come back to the...
asked by 25.11.2017 / 19:32