Questions tagged as 'ajax'

0
answers

Accessing a value from a json array in Ajax

I'm working on a project in Laravel. I'm doing a dynamic search function using Ajax and Json. Function in controller: public static function busca_ajax() { $query = Input::get('query'); $resultados = Produto:...
asked by 02.03.2016 / 17:56
0
answers

Ajax only works on localhost

Hello, guys, my ajax only works on localhost, what am I missing? Thank you. Ajax.js var url = "http://localhost/sistema/"; function criaAJAX() { if (window.XMLHttpRequest) {// Codigo para IE7+, Firefox, Chrome, Opera, Safari...
asked by 17.02.2016 / 12:58
0
answers

problems with web service Jquery + VRaptor 4 "status of 404"

I know you say it was not found, but I can not find where I was wrong. My controller: @Controller public class ProdutoController { @Inject private Result result; @Path("/") public ArrayList<Produto> inicio(){...
asked by 17.02.2016 / 12:21
0
answers

Ajax converts url

Personnel I have a routine that sends a search via AJAX to my PHP, so when I have for example the following query:? value
asked by 13.01.2016 / 15:49
1
answer

Ajax - Float Parameter

Hello, I need ajax help, I think it's a silly thing, but I'm having a hard time and I did not find anything related on the internet about it, I need to pass ajax parameter to my controller, but float type, I created a json object to try to get t...
asked by 28.12.2015 / 12:46
1
answer

"Page loading" with ajax (without jQuery)

I'm trying to do that "Loading" effect when the user accesses the MAIN PAGE ONLY, but I'm not able to CSS: #load {background:url(http://www.ajaxload.info/cache/FF/FF/FF/00/00/00/1-0.gif) no-repeat center;background-color:#fff;width:100%;hei...
asked by 05.02.2016 / 12:39
1
answer

Insert mysql with Ajax inside the While

I'm trying to make a dynamic insert using ajax. as shown in the image below. I want to be able to click on send from any line and make the post referring to it HowcanIdothis?<scripttype="text/javascript" src="js/jquery-1.10.2.min.js">&...
asked by 06.01.2016 / 18:42
1
answer

DatePicker With Highlight Dates

I'm working with an event calendar and would like the calendar to show me in different color the days that have events. I use the datepicker . link I'm looking through the documentation, but I'm not finding something like that that can...
asked by 10.12.2015 / 13:30
1
answer

Error sending input data to php with Ajax

I have the following structure: <div class="username"> <label>Usuário: </label> <p><?php echo $result[0]['username']; ?></p> <a>Editar</a> <input name="user" value="<?php ec...
asked by 31.12.2015 / 02:11
0
answers

Difficulty replacing java script code Upload

I have the following code that uploads photos: <script type="text/javascript" src="js/jquery-1.6.1.min.js" ></script> <script type="text/javascript" src="js/ajaxupload.3.5.js" ></script> <link rel="stylesheet" type="...
asked by 20.01.2016 / 16:31