TheNewDude
New member
I am new to javascript and ajax. Is it possible to pass in an argument to a php file via ajax? I am creating a form. The part that I am working on at the moment requires that somebody can select a category. As soon as a category is selected, a menu to the right populates with all the subcategories for the selected category. I figure the easiest way to do this is if I can pass the category id as an argument to a php file via ajax. Is it possible to do this or is this outside the limits of what ajax can do?