Trying to find the equivalent for this Ajax function in using jQuery this is the ajax code that i want to convert over.
new Ajax.Updater('folder', 'ajax/get_folders.php', {
parameters: { category: #$F('category'), office: #$F('office') }
This is what I have so far.
$.ajax({
url:'ajax/get_folders.php',
data: { category: $('#category').val(), office: $('#office').val() }
});
Not sure what to do with the item 'folder' in the original ajax call. That updates the options in a select on a form for the website. This is the only part of the code that has stumped me so far.