Questions tagged as 'jquery'

1
answer

MethodNotAllowedHttpException ($ others) Laravel Form submission via Ajax

I have a simple form and I am sending it to the controller via Ajax, but my problem is that after clicking on the submit button it does not call the Ajax request in my Jquery and it already leads directly to this error. p> Ihaveanothercontrol...
asked by 07.02.2018 / 17:33
1
answer

Read doc / docx content in javascript

Is it possible to send a doc / docx through a form and read its contents in javascript? I only care about the text that is written inside it, without images, formulas, etc.     
asked by 06.02.2018 / 14:16
0
answers

Ajax with Jquery does not work

I need to run Ajax within Jquery . The Jquery does the validation correctly, more when I click the button to send the form, it does not work, it locks in loader , where it would have to execute ajax . How could...
asked by 06.02.2018 / 02:23
0
answers

Create input mask for use in django forms

Good evening. I need to figure out how to apply masks in django's forms to a project, however, none of the previous attempts as successful. On the last test: from input_mask.widgets import InputMask However, perhaps for inexperience on my part,...
asked by 06.02.2018 / 02:46
0
answers

Retrieve multiple via ajax requests

I have the following fields: <div class="container"> <div class="form-group"> <label for="nomefiltrar" style="color:#E4CDAC; font-size: 17px; font- family:Arial">Nome</label> <p> <inpu...
asked by 05.02.2018 / 14:47
0
answers

Field file does not add files when there is more than one field

I'm having problems with an upload system. The user can send up to 05 files, for this, I'm doing it this way: <table border="0"> <tr class='linhas'> <td> <div class="md-group-add-on"> <span c...
asked by 09.02.2018 / 12:48
1
answer

Get city name using geolocation with redirection

<!DOCTYPE html> <html> <head> <title>GEOIP DB - jQuery example</title> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script></head><body><div&g...
asked by 02.02.2018 / 18:42
0
answers

Error when using Select2 with DataTables / Bootstrap

I was normally using Select2 with Bootstrap, without any errors on the console. The Head looked like this: WhenIputDataTables,Istartedtogetthiserror: Andhowistheheadwhenitgavethiserror: IdidnotevenuseDataTables,itonlyincludesthelinksinthehead.W...
asked by 09.02.2018 / 19:12
0
answers

JQuery 1.11.3 - Code does not work inside function loaded in $ (document) .ready only if inserted directly

EDITION # 1 I discovered that the code was not working because this snippet of JQuery code is inside a function like this: var minhaFuncao = function(){ var tbASP = []; var tbID = []; $(".portlet-body").find("div").each(funct...
asked by 10.02.2018 / 02:51
1
answer

Readonly Toggle

All fields in a form come with readonly . I use the function below to remove the attribute from all inputs. $('#form input').attr('readonly', false); But I would like a way to do similar to toggle of jQuery Each time th...
asked by 09.02.2018 / 23:51