Here's the new code: var span = 'totalViews' + video_id; var params = {'video_id': video_id};
Ajax.Response('ajaxHandler.php', { method: 'post', parameters: params, onSuccess: function(transport) { var count = transport.responseText; $('totalViews' + video_id).innerHTML = count; Mediabox.open(video_url, '', 'mediabox[480 380]'); }, onFailure: function() { alert('I Fudged Things.'); } } ); However, it still returns the same error. I'm stumped. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---