06-18-2009, 11:23 AM
|
#2 (permalink)
|
|
La Vida es Sueño
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
|
Something like the following would work for you:
javascript Code:
FancyForm.start(0, { onSelect: makeAjaxCall(chk), onDeselect: makeAjaxCall(chk) }); function makeAjaxCall(chk) { var url = 'schoolPage.php?catID=' + chk.inputElement.getProperty('id') + '&chk=' + chk.inputElement.getProperty('checked'); var request = new Request({ url:url, method:'POST', onRequest: function() { alert('making sure it works:: ' + url); } }).send(); }
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
|
|
|