blubbi
6 Jul 2007, 1:21 AM
hello everbody,
a have a not nice Problem with the form submit in IE7 fund:
thiscode in my IE7 not correct working:
HTML:
<form id="updategrid"></form>
JS:
DBEUG=1
gridForm.submit(
{
waitMsg: 'saving data ...',
url:'grid_edit_update.php',
method:'POST',
params:{data:jsonData},
success:function(form, action) {
if(DEBUG && Ext.isGecko) {
console.info("saveRows: it's OK");
}
},
failure: function(form, action) {
if(DEBUG && Ext.isGecko) {
console.info("saveRows: Oops, not working!");
}
}
}
);
this code correct working in my IE7:
HTML:
<form id="updategrid" method="POST" action="grid_edit_update.php"></form>
JS:
gridForm.submit(
{
waitMsg: 'saving data...',
url:'./grid_edit_update.php',
method:'POST',
params:{data:jsonData},
success:function(form, action) {
if(DEBUG && Ext.isGecko) {
console.info("saveRows: its OK!");
}
dsGrid.reload();
},
failure: function(form, action) {
if(DEBUG && Ext.isGecko) {
console.info("saveRows: Oops, not working!");
}
}
}
);
:D :-? :(( *hmpf, it's not nice ...
a have a not nice Problem with the form submit in IE7 fund:
thiscode in my IE7 not correct working:
HTML:
<form id="updategrid"></form>
JS:
DBEUG=1
gridForm.submit(
{
waitMsg: 'saving data ...',
url:'grid_edit_update.php',
method:'POST',
params:{data:jsonData},
success:function(form, action) {
if(DEBUG && Ext.isGecko) {
console.info("saveRows: it's OK");
}
},
failure: function(form, action) {
if(DEBUG && Ext.isGecko) {
console.info("saveRows: Oops, not working!");
}
}
}
);
this code correct working in my IE7:
HTML:
<form id="updategrid" method="POST" action="grid_edit_update.php"></form>
JS:
gridForm.submit(
{
waitMsg: 'saving data...',
url:'./grid_edit_update.php',
method:'POST',
params:{data:jsonData},
success:function(form, action) {
if(DEBUG && Ext.isGecko) {
console.info("saveRows: its OK!");
}
dsGrid.reload();
},
failure: function(form, action) {
if(DEBUG && Ext.isGecko) {
console.info("saveRows: Oops, not working!");
}
}
}
);
:D :-? :(( *hmpf, it's not nice ...