Use data: { confirm: 'Text' } to fix confirm: