Does anybody have a code snippet that runs a geoprocessing task on an onclick event? My vision is the have the user click the widget button and then that would run an intersect geoprocessing service. anybody out there got something along those lines?