Re: Errormessage with older Browsers?
but sometimes IE6 tells the User that the page wants to use activex.
> If I'm reading the source right, YAHOO.util.Connect.asyncRequest
> return null if neither method is supported. YUI doesn't raise anyreturn
> errors on its own; it's your responsibility to check for a null
> and act accordingly.Connections.
> For example:
> var transaction = YAHOO.util.Connect.asyncRequest('GET', sUrl,
> callback, null);
> if(transaction == null)
> /* Perform error handling here. */
> Hope that helps!
> <benjamin.fuchs@> wrote:
> > Hallo everybody,
> > I have a simple question:
> > I want to use yahoo.js and connection.js to handle AJAX
> > It works very fine, but what happens when somebody joins thepage with
> > an older browser, which doesn`t support the XMLRequest orActiveX
> > Support is disabled?there
> > Or will simply be nothing?
> > I want to use a simple Code which "Callshome" but i wan`t older
> > Browsers to send Errormessages or Warnings to the user, insted
> > should be nothing.
> > Can anybody help me with me question?
> > Benjamin Fuchs