Questions tagged as 'jquery'

1
answer

json php + javascript

I need the following: I get what was typed in the input with the code below and move on to the url: link <script> $(document).ready(function(){ $("form").submit(function(e){ if(!$("form").hasClass("valid")){ $("form").addClass("l...
asked by 12.06.2017 / 16:17
0
answers

Search in Datatables in serverSide mode

I'm almost finalizing a project and need to improve Datatables research. I use the serverSide mode and the ajax search is this: <?php /******* Conexão com o bando de dados *******/ include "../../Conexao/config.php"; mysqli_sele...
asked by 12.06.2017 / 16:15
0
answers

JQuery Chart + PHP Two-Dimensional Arrays

This question is a bit repetitive however I tried to rephrase the code in a different way. So it's the folks next, I ran a database query to fetch tag and count values, and I saved both fields in a two-dimensional array. Then I made json_enco...
asked by 09.06.2017 / 10:11
1
answer

Hide field select according to radio button

I'm trying to hide select fields according to the radio button I can hide the inputs, but the select fields I'm not getting, could anyone help me? Form: <div class="form-group"> <label class="control-label col-m...
asked by 08.06.2017 / 21:18
0
answers

How to Edit table values via JQUERY after recieving a web service

I need to create functions to edit / change and delete values from the table that arrives via JSON from a web service, the part of the webservice to handle what will be sent I know how to do, how do I do this on the side of JQUERY? p> HTML Cod...
asked by 08.06.2017 / 21:19
1
answer

Thead table header does not align with rows after append

I have a problem with the code, I need to align the Thead tags in my table which gets a json of all the data, the data is coming and the header is there, but both are not aligned, I need some help. HTML Code Table: <div id="main-table...
asked by 07.06.2017 / 16:50
1
answer

How to use checkbox to update information in mysql?

I'm using Ajax to update the database, but I'm passing data by reference, it works and updates in the database, but clicking the button to disable it works but if I click to disable it and then activate , does not work unless you refresh t...
asked by 07.06.2017 / 19:10
2
answers

Inserting data into postgresSQL database with PHO, AJAX and JQUERY

I'm trying to insert data into a postgres database using php and ajax with jquery. But always from error. It's for a college job. Could someone explain the error in the code? $("#registrar").click(function(){ $.ajax ({...
asked by 20.06.2017 / 06:42
1
answer

Validate users using Modal Bootstrap

I am validating user access using the traditional method: IwouldlikethismessagetoappearinaModalBootstrap.Itriedthecodebelow,butthemodalbackgroundappears(black)andclosesquickly,doesnotkeepthemodalopen:HTML<formmethod="post" id="login-form"...
asked by 04.07.2017 / 17:02
1
answer

video tag does not work on android phones

I'm developing a responsive website that has a video, when accessing this site on mobile the video is not displayed, if you insert the video through the tag it works. Could anyone help me?     
asked by 09.06.2017 / 23:42