I'm using .net 1.1. I have client-side script like this:
function Edit(save_id, edit_id,task_name, id, table_id)
{
var b;
var proj = document.getElementById("DDProject");
var box = document.getElementById("DDYears");
document.getElementById(save_id).style.display='inline';
document.getElementById(edit_id).style.display='none';
b = calendar.WebForm1.Edit( task_name ,
proj.options[proj.selectedIndex].value,
box.options[box.selectedIndex].value, table_id).value;
if (b != null)
{
alert('Ok');
}
else
{
alert('This element was deleted');
};
b=null;
}
Server side code return some value or null. On IE this code work
correctly, but on FF 1.5.4 always run second alert (This element was
deleted). Can you tell me any way to fix this problem?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ajax.NET Professional" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/ajaxpro
The latest downloads of Ajax.NET Professional can be found at
http://www.ajaxpro.info
-~----------~----~----~----~------~----~------~--~---