Given the following
<script type='text/javascript'>
function save_form_vars() {
        new Ajax.Request( '' + '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( '' );


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 &" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to