Click here to Skip to main content
15,906,333 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
what is the array syntax in ajax.can u please give me the syntax of arry in ajax.
Posted
Comments
Sergey Alexandrovich Kryukov 22-May-12 1:43am    
AJAX syntax, really? What do you fail to understand: what is AJAX or what is syntax? Or both?
--SA

AJAX cannot have syntax because this is not a language. You probably need JavaScript syntax.

Please see:
http://en.wikipedia.org/wiki/JavaScript[^],
http://en.wikipedia.org/wiki/JavaScript_syntax#Array[^].

See also:
http://en.wikipedia.org/wiki/Ajax_%28programming%29[^],
http://en.wikipedia.org/wiki/XMLHttpRequest[^].

—SA
 
Share this answer
 
v2
AJAX cannot have syntax because this is not a language.
 
Share this answer
 
Are you talking about this
C#
var items = new Array();
items[0] = "Item 1";
items[1] = "Item 2";
items[2] = "Item 3";
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900