Skip to main content

All Questions

Tagged with
-5 votes
2 answers
79 views

Jquery autocomplete on input field lists unqualifying options [duplicate]

I'm trying to get some autocompletion from a PHP file, but it doesn't work nicely. This is the html file: <div class="ui-widget"> <label for="tags">Tags: </label&...
-2 votes
0 answers
50 views

Why does my array fires Error: Call to undefined method stdClass on a function after json encode / decode? [duplicate]

I am working on an object I want to send to another php script via Ajax to perform a function called lire() So to send this object called Caddie, I json_encode it and then in my php script json_decode ...
0 votes
0 answers
28 views

Fill an Array in js file [duplicate]

i use this code to fill reviewArray, but it's not getting filled in the right position. getSuccessOutput(); function getSuccessOutput() { $.ajax({ type: "post", url: '...
0 votes
0 answers
27 views

JSON format for string

Getting string data from ajax request : result is dates and number of events on specific dates. [['2012-06-20',13],['2012-06-21',2],['2012-06-22',2],['2012-06-24',1],['2012-07-04',1],['2012-07-05',4],[...
0 votes
0 answers
51 views

Get dynamic form inputs as JSON

I have an HTML form with many inputs. After submitting the form I should get these values as JSON format. The challenge here is that the form has dynamic fields that can be increased/decreased during ...
2 votes
1 answer
600 views

Laravel ajax live search query with multiple models

Currently i am trying to make live search field. When user starts typing, result are coming under the text input field. For just one model its working perfectly. But if i want to search in multiple ...
2 votes
3 answers
1k views

Can't send a Multidimensional Array from JavaScript through AJAX to PHP

I saw a lot of problems regarding the exact same thing. But I tried so many things that I'm really not sure if what I'm doing even works anymore. So, I have this multi-dim array, which I create by ...
-2 votes
1 answer
60 views

What is the 'elegant' way to update name/age pairs in a website with javascript, and json? [closed]

I've got a server that hosts a website and collects data. Though it is actually Energy/power data in home automation, I will make the question more clear with name:age pairs: Suppose I have a Json ...
0 votes
0 answers
24 views

Capturing data from AJAX-loaded modals using jQuery and JavaScript, encountering issues with capturing data from previous modals when opening new ones

I have a modal where I use AJAX with jQuery and JavaScript to make a GET request and display some data. Within this modal, there's a button that, when clicked, captures some data. I've added a console....
23 votes
6 answers
67k views

Pass array data from JavaScript in browser to Spring MVC controller using AJAX

I would like to pass an array from JavaScript in web browser to a Spring MVC controller using AJAX. In JavaScript, I have: var a = []; a[0] = 1; a[1] = 2; a[2] = 3; // how about multiple arrays as ...
2 votes
2 answers
2k views

Pass array of arrays from JavaScript to Spring MVC controller using AJAX

So I have a little issue here as described. In the following first example I'm passing a simple array which is working. If I want to pass an array of arrays in the second example, it isn't working ...
0 votes
0 answers
35 views

How to bind a listview using javascript or jquery

Application used to bind a list view in nav bar from code behind but Im trying to bind it from client side after fetching data using Ajax on page load. I got the data on client side but not sure how ...
1 vote
0 answers
43 views

Form only sends a max of nine dynamic rows

I have a PHP file that is supposed to send a complex form to an email via the PEAR Mail package using an SMTP connection. the form has a normal (HTML) form and a dynamic one (using JS). The dynamic ...
2 votes
2 answers
7k views

can I change script src and have javascript run the new code?

I have a page that is actually a presentation, much like powerpoint. It is an infinite loop which updates itself with ajax to download new presentation content since last time around. Now, this ...
0 votes
0 answers
33 views

sending mutiple arrays with ajax and updating SQL from sortable connected lists

I have been struggling with sending 3 arrays to a PHP update script with ajax. The goal is to have three lists on the page (employee, manager, admn) and when the user drags an item from one list to ...

15 30 50 per page
1
2 3 4 5
145