Skip to content Skip to sidebar Skip to footer

Firefox (only) Dynamic Form Action Not Working

Console is returning blank for the action attr. I've moved the: $('#file_upload').attr('action','io.cfm?action=updateitemfile&item_id='+$('.agenda-modal').attr('data-defaultite

Solution 1:

Based on this comment on the attr() documentation, it appears that action must be capitalized to work in Firefox:

$('#file_upload').live('submit',function(event){
    $(this).attr('ACTION','io.cfm?action=updateitemfile&item_id='+$('.agenda-modal').attr('data-defaultitemid'));
});

I've got money that says that breaks it in IE...

Post a Comment for "Firefox (only) Dynamic Form Action Not Working"