Questions tagged as 'jquery'

0
answers

How to get modal bootstrap data and send to PHP

I need to get Modal form data via Ajax My code: var url = 'fotovisita.php'; var data = $('#foto').serialize(); var type = "POST"; $(document).on('click', '#save-foto', function () { $.ajax({ url: url, method: 'POST',...
asked by 06.09.2018 / 17:18
0
answers

Doubt with SweetAlert, can not send more than 1 file

I have a code that will send files to be recorded, at the moment I can only record 1 file, the rest does not come, thanks for the help! <script> swal({ input: 'file', inputAttributes:...
asked by 06.09.2018 / 21:18
1
answer

Uncaught TypeError: $ (...) .removeClass (...) .affix is not a function at HTMLDocument.anonymous

I have the problem in jQuery, it tells me that affix is not a function, I already did everything I know and more and even then I could not solve it .. can you help me? jQuery(document).ready(function($){ if ( ($(window).height() + 100) <...
asked by 17.09.2018 / 18:10
0
answers

Sending form with ajax json

Hello, my question is about submitting a form via ajax. I would like to get these form elements and send via ajax. I need to save and send the form data, the "grid", and the json question and answer. I thought of writing those elements in a vari...
asked by 04.09.2018 / 19:36
0
answers

Sortable with Z-index

I am trying to use this function that Jquery provides, however, by increasing it: Jquery function: $(function() { $("#sortable").sortable(); $("#sortable").disableSelection(); }); #sortable { list-style-type: none; margin: 0;...
asked by 04.09.2018 / 16:05
0
answers

How do I return hit form jquery and php

I have a form like this <form action="envia-contato.php" method="post" > <label>Nome<span style="color:#db0012 !important;">*</span></label> <input type="...
asked by 06.09.2018 / 14:50
4
answers

How to create a real-time notification system similar to Stack Overflow?

I am developing a Help Desk system, and would like some ideas on how to create a notification system similar to Stack Overflow itself, whenever any new support is registered. I want to use PHP, MySQL and jQuery only. Should I use window...
asked by 16.03.2014 / 20:21
3
answers

Send form without closing modal

I have a page with job opportunities when I click on a button it calls a modal and displays a form where sending information requires that he does not reload the page and displays a confirmation message. What has happened is that after...
asked by 04.09.2018 / 21:20
1
answer

Get JSON return from a URL within the function

I have the following function: $(document).ready(function(){ arrayAmount[0]='29.90'; } I need instead of specifying the value directly there (29.90), so that it gets the value of a URL. Ex: arrayAmount[0]=GET:http://domain_here.com?id=...
asked by 01.09.2018 / 04:59
1
answer

Calculate items in a table

I need to calculate the table items and display them in a certain field on my page. Currently it looks like this: <div class="pacientes"> <div class="pacientes-header"> <i class="fa fa-people-carry"><...
asked by 31.08.2018 / 04:39