Uncaught TypeError: Illegal invocation
Hi,
I am getting the above error and can't figure our why? kindly help..
This is my code:
- var formData = new FormData();
- formData.append("login_name", "731004167");
- formData.append("login_password", "Jassim@2013");
- $.ajax({
- type: "POST",
- url: 'signin2.php',
- dataType: 'json',
- data: formData,
- }).done(function (data)
- {
- console.log(data);
- // DevExpress.ui.dialog.alert('BlueFile', 'Success!');
- if (data)
- {
- BlueFile_Mobile.app.navigate("my");
- }
- else
- {
- viewModel.loadPanelVisible(false);
- DevExpress.ui.dialog.alert('BlueFile', 'Invalid Login name or Password!');
- }
- }).fail(function (jqXHR, message)
- {
- viewModel.loadPanelVisible(false);
- DevExpress.ui.dialog.alert('BlueFile', 'Failed!');
- DevExpress.ui.dialog.alert('Error', message);
- })
Thanks,
Jassim