All,

I have an ASP.NET application which works 100% in Internet Explorer,
but has a fault when run in FireFox.   On one form, I have a drop down
control which when a value is set, makes a command box visible.  When
the drop down is used in Internet Explorer, the button appears but in
Firefox, the command box stays invisible.   The coding for this
control is done in the ASPX java code as follows:

At the start of the code, I set the attributes on the drop down to
call the show commands as follows:


drpType.Attributes.Add("onChange",
"JavaScript:ShowButtonsOnConnection();")


Then we have the main command to make the button visible and change
the button text as follows:

function ShowButtonsOnConnection()
{
try{
if
(document.getElementById('ctl00$ContentPlaceHolder1$drpType').value=='Null')
{document.getElementById('ctl00_ContentPlaceHolder1_btnConType').style.visibility='hidden';}

else if
(document.getElementById('ctl00$ContentPlaceHolder1$drpType').value=='O')
{document.getElementById('ctl00_ContentPlaceHolder1_btnConType').style.visibility='visible';
document.getElementById('ctl00_ContentPlaceHolder1_btnConType').value='ODBC
Admin';}

}
catch(response)
{
}

}


Can anybody suggest how I get this to function in Firefox?

Thanks

Jaffa

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web 
Services,.NET Remoting" 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://cm.megasolutions.net/forums/default.aspx
 <p><a href="http://feeds.feedburner.com/DotNetDevelopment";><img 
src="http://feeds.feedburner.com/~fc/DotNetDevelopment?bg=99CCFF&amp;fg=444444&amp;anim=1";
 height="26" width="88" style="border:0" alt="" /></a></p>
-~----------~----~----~----~------~----~------~--~---

Reply via email to