Santhosh0123 schrieb:
> Hi All, > > I'd installed FireFox2 beta yesterday & it seems the ajax scripts not > working there. > I'm getting the following error > > responseText.trim is not a function - in the following line of > http://localhost/abc/ajaxpro/core.ashx > > if(responseText != null && responseText.trim().length > 0) { > > Anybody knows about how to fix this issue? > > Regards, > Santhosh Thomas Put this in your js file could solve the problem Object.prototype.trim=function() { return this.replace(/(^\s*)|(\s*$)/g,""); } I don't know why the String object won't work with FF 2.0 --~--~---------~--~----~------------~-------~--~----~ 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/ Don't forget to read my blog at http://weblogs.asp.net/mschwarz/ -~----------~----~----~----~------~----~------~--~---
