Given the following
<script type='text/javascript'>
function save_form_vars() {
        new Ajax.Request( 'http://www.longdrivesoftware.com/' + 'form_sources/
post_customer_info_form_vars', {
          method: 'post',
          parameters: $( 'f1' ).serialize( true ),
          onSuccess: process,
          onFailure: function() {
                  alert( "There was an error with the connection" );
          }
        });
}

function process( transport ) {
        window.location.replace( 'http://www.longdrivesoftware.com/basket' );
}

</script>

I am getting a javascript error "$("f1") is null".  Running on FIrefox
with the latest Prototype release (not the release candidate).

The HTML form declaration is properly formed.

Any help would be appreciated.

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to