This is a migrated thread and some comments may be shown as answers.

$find not working in SAFARI

4 Answers 71 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
sharanya
Top achievements
Rank 1
sharanya asked on 03 Aug 2010, 08:48 AM
Hi All,

I am trying to open a Radwindow using Javascript. It works fine in IE and firefox but not SAFARI.

My function is :

Function ShowRadWindow()
{
        var oWin = $find('radwndHandoverNote');

}

I get the error TypeError : Result of expression '$find' [undefined] is not a function.

Regards,
Sharanya

4 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 05 Aug 2010, 01:25 PM
Hello Sharanya,

I tried to reproduce the problem but to no avail. Please check the attached code and movie and let me know if I am missing something.


Greetings,
Georgi Tunev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
sharanya
Top achievements
Rank 1
answered on 06 Aug 2010, 03:09 AM
Hi,

Thanks a lot for your quicj reply. I tried your sample code and it worked!!

I am getting the errors:
TypeError: Result of expression 'Sys.WebForms' [undefined] is not an object
TypeError: Result of expression 'Sys.Application' [undefined] is not an object  as Javawscript errors.

I am wondering if these errors are preventing the download of required webresource.axd files for $find function.

Thanks & Regards,
Sharanya
0
Georgi Tunev
Telerik team
answered on 09 Aug 2010, 01:55 PM
Hi Sharanya,

It seems that the ASP.NET AJAX scripts are not loaded properly. I would suggest to use Fiddler or a similar tool to check why is this happening.


Kind regards,
Georgi Tunev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
sharanya
Top achievements
Rank 1
answered on 12 Aug 2010, 12:53 AM
Hi Georgi,

The strange thing is the same code works well in IE and firefox. This is happening only in SAFARI.

I tried using fiddler but there was no use.

Is there anything different with SAFARI the way it renders scripts?

Thanks & Regards,
Sharnaya
Tags
Ajax
Asked by
sharanya
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
sharanya
Top achievements
Rank 1
Share this question
or