I am having a issue with Spring Webflow and JQuery.
I am using JQuery to check for the user changing the value in a dropdown box but once the user selects a new value in the dropdown box I need to change the eventID so spring webflow knows what I am trying to do and to post the fall form with all of the html..
Here is the old code that used to work before the firm requested that I removed dijit and use jquery only
<script type="text/javascript"> Spring.addDecoration(new Spring.ElementDecoration({ elementId : "borough", widgetType : "dijit.form.Select", widgetAttrs : { promptMessage : "Enter Borough", required : true, onChange : function() { Spring.remoting.submitForm( 'submit', 'member', {_eventId: 'loadSchools', fragments:'contents'} ); return false; } }})); </script>-
now here is the new code that looks like it does change the eventID and does the post but I need all the data from the form on the post
<script type="text/javascript"> $(document).ready(function () { $("#borough").change(function() { $.post('${flowExecutionUrl}', {_eventId: 'loadSchools'}, function(){ alert('eventid was sent to url'); }); }); }); </script>-
Can some someone help me out here....