Questions tagged as 'jquery'

1
answer

How to solve this problem [closed]

I need to make this code work so that if I contain the word in the url I switch to the default option as follows: $('#servico').val(Sispostag.getParameterValue('servico')); var url = location.href; if(url.indexOf('undefined')==-1) {...
asked by 03.05.2017 / 14:25
1
answer

Problems with PHP + jquery

How do I get a value from a button in jquery and move to another page? My problem is to pass the order data I received from the bank and make this data appear on another page and I want to do with this + boot: knife-your-request.php<di...
asked by 09.05.2017 / 16:56
2
answers

API call does not work

I have the following code: // Jquery Script <script src="https://code.jquery.com/jquery-3.2.1.min.js"integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script> // JS Script $.a...
asked by 20.04.2017 / 22:21
1
answer

Problem tr hidden does not show in the right place after json is returned

I have a table that lists all users, a tr hidden in that when I click the show players button it opens shows this tr with a table inside list below the user that I am wanting to show its players. What is happening to me and for exa...
asked by 04.05.2017 / 15:25
1
answer

Request ajax does not return what I want

I have a registration page with a form, the person types the year and clicks the button to search the register. With the typed year I have to make the request for PHP to execute the query, return the data and distribute the data to the fields of...
asked by 20.04.2017 / 17:37
1
answer

Search with JQuery does not work in Firefox

I created a code to fetch information from a table and the code just does not work in Firefox The error that appears in firefox is:    Error: Syntax error, unrecognized expression: unsupported pseudo:   contains-ci jquery.min.js: 2: 12733...
asked by 04.05.2017 / 15:12
1
answer

Active menu after refresh with localStorage

I have this code that leaves the menu active and expands. <li class="menu-item"> <a href="#" class"active"> <span>Posts</span> </a> <ul class="sub-menu"> <li><a href="#">Ver Post...
asked by 11.05.2017 / 00:03
1
answer

Jquery function to show and hide text?

Basically, when you click on Art, the sentences that have the id = show should appear and when you click disappear again <!DOCTYPE html> <html> <head> <title></title> <script type="text/...
asked by 29.04.2017 / 16:03
1
answer

Create event click for dynamic button

I'm dynamically adding rows to a table, but I can not seem to make the dynamically-created button work. Below is the section where I create an ajax request to add a row in my table: $("#btnitemproduto").click(function(){ var xml...
asked by 30.04.2017 / 18:14
1
answer

Return results on different inputs

Well, here's my code. My query is returning the results I want, however, it is only returning in one input. How do I return the name_id in an input and the location in another? <?php $nome = $_POST['name']; if (isset($_POST['nam...
asked by 29.04.2017 / 23:08