Questions tagged as 'jquery'

1
answer

Get input date value

I have two input date created, and I would like to get the date of the two by a button. <div class='col-md-5 col-lg-4'> <div class="form-group"> <span>Inicio</span>...
asked by 08.02.2018 / 17:41
1
answer

Jquery command does not work

On my html page, I have the following elements: <div class="alert alert-danger" role="alert" style="visibility:hidden" id="erro">CNS inválido!</div> <input type="text" class="form-control" name="cns" maxlength="15" required onbl...
asked by 05.03.2018 / 15:06
1
answer

What is the best way (including frameworks) of working with JSON files? Using Javascript [closed]

Folks, I have to list some data based on a json and also use some control structures with properties of that file, so what is the best way to work with them? if possible explain how to move from a .json file (without writing all of it in the cod...
asked by 17.07.2016 / 01:55
1
answer

Query on Json file

I am making a listing of cities and states via JSON . I always create a table in the database to return this information. But today I'm making it to the JSON file. The layout of the states file: [{"ID": "1", "Nome": "Afonso Cláudi...
asked by 18.09.2017 / 03:58
2
answers

Open Window behind main window

I have this code that it does almost that. The only problem is that I need the user to click on a link so that the main window is in front. I want to open the window automatically after the main window. This is the code that opens the Window....
asked by 30.12.2015 / 18:19
1
answer

How do I pass data to a php class via ajax being class instance another?

Personal hello I hope you can help me, I have this problem a long time I'm trying to get my data via Ajax for my class but in the URL I do not know how to reach it in a way that does not error I tried the following way $.ajax({ type...
asked by 27.01.2016 / 03:21
1
answer

How do I get the value of Variables Separately from PHP?

This is the Ajax code $('#FormEs').submit(function(e){ e.preventDefault(); $.ajax({ url: "VerificarPerson.php", type: "POST", dataType:"html", data: { 'metodo': $('#metodo').val(),...
asked by 14.02.2016 / 20:16
1
answer

Help with jQuery UI tabs

Hello, I'm in need of help with tabs of jQuery UI follows the EXAMPLE In this case, I needed the subCategorias to be "hidden" and when I click on the "Category" parent the subCategorias will appear. Thank y...
asked by 13.04.2016 / 21:00
1
answer

how do I grab a line from a field that has no boundaries and break in array?

I have the code that takes a string from a field in the example below:    material plant part vazo light This string has no boundaries and, as you can see, the string words I need to break have distinct characters running my code below th...
asked by 19.04.2016 / 18:59
1
answer

JQuery Cyclo 2 problem with effect

I have the following html: <!DOCTYPE HTML> <html lang="en-US"> <head> <meta charset="UTF-8"> <title>Slider</title> <script type="text/javascript" src="https://code.jquery.com/jquery-1.12.1.js"...
asked by 28.02.2016 / 00:01