About 917,000 results
Open links in new tab
  1. How to pass multi-dimensional array with Jquery AJAX post?

    Aug 1, 2012 · $.ajax({ type: 'post', cache: false, url: './ajax.php', data: { arrayData } }); You must use {} to contain the { arrayData } variable. then echo $_POST[arrayData]; will yield Array. If …

  2. JavaScript Multidimensional Array

    This tutorial shows you how to effectively create JavaScript multidimensional arrays using an array of arrays.

  3. typeahead.js autocomplete with two-dimensional array Ajax call

    Nov 26, 2021 · Using the typeahead.js library to create an autocomplete input from a two-dimensional array that was fetched with an Ajax request. typeahead.js is created by Twitter to …

  4. How to create a multidimensional array looping over a jquery …

    Jul 9, 2014 · If you are passing it to the PHP script via AJAX, then jQuery’s $.ajax () method expects an object (for the data attribute), so that is the way to go. I’m trying to create a …

  5. JavaScript Arrays - W3Schools

    Using an array literal is the easiest way to create a JavaScript Array. Syntax: const array_name = [item1, item2, ...]; It is a common practice to declare arrays with the const keyword. Learn …

  6. javascript - how to create multidimensional array / object in jquery ...

    Jun 8, 2013 · I'm asking how I can create the jquery equivalent of a multidimensional array by using the .each function on the quantity-inputs since those inputs use data elements to specify …

  7. JavaScript Multidimensional Array: Explanations with Examples

    Jul 31, 2023 · In this article, you learn how to create multidimensional arrays in JavaScript and how to access their elements using the square bracket notation. You also discover how to use …

  8. Multidimensional Array - ServiceNow Community

    May 8, 2019 · You can use JSON in your script include to create an object of objects (multi-denominational array of sort), stringify it and pass it back to your client script as part of the Ajax.

  9. Multidimensional Arrays in JavaScript

    Mar 14, 2023 · Explore the power of multidimensional arrays in JavaScript with this comprehensive tutorial. Learn how to create, access, and manipulate complex data structures.

  10. [jQuery] multidimensional arrays with the ajax plugin

    Not easily. The best way would perhaps be to name the values like this: edit.subject = subject name.steve = Steve Etc.. Then you can go through $_POST and use explode (".", $foo) to turn …

  11. Some results have been removed
Refresh