Questions tagged as 'javascript'

1
answer

Request problem - Phonegap + Ajax [duplicate]

I was doing a test to test the phonegap, however I am not able to make an Ajax request in the app, but the request works in the browser. $( "#botaoBusca" ).click(function(){ var cep = $( "#cep" ).val(); $.getJSON('https://viacep.com.br/ws/...
asked by 12.05.2016 / 05:45
2
answers

Google Maps does not load correctly

My site is experiencing display issues on a map (Google Maps) when accessed by the main url: link but displays the same map correctly when accessed by this other URL: link If I access the site by this other url link also gives map er...
asked by 17.05.2016 / 23:32
1
answer

How to query (SELECT * FROM table) using AJAX?

Hello, I'm trying to make a query in a table and display the results on the client page without the need to refresh the page with each new registration. But I can not. Here are the codes: index.php <button id="fetchLojas" class="btn btn...
asked by 10.04.2017 / 18:32
1
answer

Tip to set up menu

Good morning, friends, I'm new here and would like your help, as I need to set up a dropdown menu, with one of the sub-menus with another level. However, to follow a layout, such sub-menus need to be on the same line and needs to be a megamen...
asked by 23.05.2017 / 15:30
2
answers

jquery.validate.js does not work without form-group (Bootstrap)

The validation of jquery.validate.js only works when input is within <div class="form-group"> , for example if I put the code: <div class="row"> <div class="col-sm-12 col-md-12 col-lg-12">...
asked by 25.06.2017 / 19:20
2
answers

pass value js to another page in action form

Hello, I have a simple form with some fields, which I send the values to another page via form action: <form class="form-horizontal" action="novapagina.php" enctype="multipart/form-data" method="post" > I would like to send a js varia...
asked by 05.06.2017 / 07:20
1
answer

Get multiple values checkbox tag [closed]

I'm displaying a table with data coming from a xml , so I'm traversing the array @ag and assembling the elements of each line. Each line has a check_box_tag to select the elements to delete. Now what I need is each line se...
asked by 07.10.2014 / 14:34
1
answer

PHP code does not execute and returns as comment for HTML

I have a code in javascript calling a file PHP : $.post("subscript.php", { idPost: idPost }, function(response2) { //Joga o resultado no lugar desejado. $("#respostaID").html(response2); }); When this code...
asked by 08.09.2015 / 20:27
1
answer

How to make slideup / slidedown without a click event?

Hello, I'm starting at AngularJS and I have some doubts ... One of them is this. I have the following code: angular.module('ValueSelling.controllers', []).controller('startController', function($scope, $routeParams) { jQuery('body').rem...
asked by 29.07.2015 / 15:18
1
answer

Replacing Wrong Words in a Text Field

I would like an idea of how to create something of the type, text field, where we enter some wrong word (s) and then it is corrected. For example: <body><input type="text" id="exibir" onkeyup="troca()"/></body> <scri...
asked by 15.04.2016 / 03:41