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

Getting contentWindow in Kendo

0 Answers 78 Views
Window
This is a migrated thread and some comments may be shown as answers.
Prakash
Top achievements
Rank 1
Prakash asked on 25 Sep 2012, 01:48 PM

<div>
<form name="form" >
<input type="text" name="msg" value="Your message"/>
<input id="btnsumbit" type="submit" />
</form>
</div>
<div>
<iframe id="guestFrame1" name="guestFrame1" width="500px" height="150px" frameborder="1"   src="http://localhost/kendosample " >
</
iframe>
</div>
<script>
var win = document.getElementById("guestFrame1").contentWindow           
document.forms.form.onsubmit = function ()
{
win.postMessage(this.elements.msg.value, "*")
return false
}
</script>
Please let me know, how to apply the above same logic in kendo window

No answers yet. Maybe you can help?

Tags
Window
Asked by
Prakash
Top achievements
Rank 1
Share this question
or