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

How can I access a RadTextBox inside an iframe in Javascript?

1 Answer 78 Views
Input
This is a migrated thread and some comments may be shown as answers.
Jesse Lawler
Top achievements
Rank 1
Jesse Lawler asked on 20 Oct 2010, 04:54 AM
There must be a solution for this, but I've yet to find it.

I've got an iframe filled with juicy RadTextBoxes, and I want to set their values from a javascript function in the parent frame.  How is this accomplished?

Jesse

1 Answer, 1 is accepted

Sort by
0
Cori
Top achievements
Rank 2
answered on 20 Oct 2010, 02:05 PM
Hello Jesse,

If you know the full id name for the RadTextBox control inside the iFrame, I believ you can use the optional parameter of the $find command. Like so:

$find([RadTextBoxID],[iFrameID]);

Here's a reference to the MSDN article to what I mentioned above:

http://msdn.microsoft.com/en-us/library/bb397441.aspx

I hope that helps.
Tags
Input
Asked by
Jesse Lawler
Top achievements
Rank 1
Answers by
Cori
Top achievements
Rank 2
Share this question
or