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

jquery question

1 Answer 93 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Karl Wilkens
Top achievements
Rank 1
Karl Wilkens asked on 12 Nov 2010, 07:09 PM
Hi,

We are attempting to use Telerik's built in jquery to do nothing more than write in content from an external URL.

We have the script manager and references in place as outlined here http://www.telerik.com/help/aspnet-ajax/using-jquery.html

However, it isnt working. Its pretty simple -

<div id="agenda"></div>
<script language="javascript" type="text/javascript">
     $telerik.$("agenda").append("http://www.ncvhonline.com/AgendaFeed.aspx?EID=1");
    </script>

The URL inside the append returns a simple table. What am I doing wrong here? Thanks.

1 Answer, 1 is accepted

Sort by
0
Kamen Bundev
Telerik team
answered on 15 Nov 2010, 08:52 AM
Hello Karl,

jQuery append method is not used for loading content from an URL, but for injecting the specified in the command content. You may want to check what it does in the jQuery documentation. Furthermore the selector in $telerik.$("agenda") should be a qualified CSS selector - for instance if the element you want to select has an ID="agenda" - use $telerik.$("#agenda") to select it.

Greetings,
Kamen Bundev
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
Tags
General Discussions
Asked by
Karl Wilkens
Top achievements
Rank 1
Answers by
Kamen Bundev
Telerik team
Share this question
or