Using the following code blocks below, I get a JavaScript error in Opera (and also webkit browsers): The code works properly in Firefox 3.5 and IE8.
I'm admittedly new to Telerik (I've inherited this code), but I do know that we also are using jQuery on our site, which might be interfering? I have attempted to replace "$telerik.$" with "$j" and "$", and it does not work.
Can anyone point me in the right direction? Thanks.
Here is some relevant info:
Browser: Opera 10.10 Error: Type mismatch (usually non-object value supplied where object required)
Browser: Safari 4.0.4 Error: TypeError: Result of expression '$telerik.$' [undefined] is not a function.
jQuery: 1.3.2
Telerik: 2009.3.1103.35
HTML:
JavaScript:
I'm admittedly new to Telerik (I've inherited this code), but I do know that we also are using jQuery on our site, which might be interfering? I have attempted to replace "$telerik.$" with "$j" and "$", and it does not work.
Can anyone point me in the right direction? Thanks.
Here is some relevant info:
Browser: Opera 10.10 Error: Type mismatch (usually non-object value supplied where object required)
Browser: Safari 4.0.4 Error: TypeError: Result of expression '$telerik.$' [undefined] is not a function.
jQuery: 1.3.2
Telerik: 2009.3.1103.35
HTML:
<head> |
<script type="text/javascript" src="/JS/jquery/jquery-1.3.2.min.js" ></script> |
<script type="text/javascript"> |
var $j = jQuery.noConflict(); |
</script> |
<!-- irrelevant stuff here --> |
</head> |
<body> |
<!-- irrelevant stuff here --> |
<script src="/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_RadScriptManager1_HiddenField&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-GB%3a1247b7d8-6b6c-419f-a45f-8ff264c90734%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%3aen-GB%3a4552b812-caf7-4129-9b53-8f199b5bce6c%3a16e4e7cd%3aed16cbdc%3af7645509%3bAjaxControlToolkit%2c+Version%3d3.0.30930.28736%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen-GB%3ab0eefc76-0092-471b-ab62-f3ddc8240d71%3adc2d6e36%3ab14bb7d5%3aa3e10fa2%3a13f47f54%3a701e375f%3a1d056c78%3a3c55b13e%3ade51bc8f%3aa4313c7a" type="text/javascript"></script> |
<!-- irrelevant stuff here --> |
</body> |
JavaScript:
function blah(p) |
{ |
var i; |
for(i=eli.length-1; i>=0; i--) |
{ |
if (eli[i].foo == (p)) |
{ |
$telerik.$('#' + eli[i].lid).hide(); /* ERROR ON THIS LINE */ |
$telerik.$('#' + eli[i].gid).show(); |
} |
} |
} |