jquery and ajaxcontroltoolkit asp.net editorcontrol can't recieve content with val()
Hello,
i am using jquery 1.4.2 and asp.net 3.5 with the microsoft ajaxcontroltoolkit.
My Problem is ...
i can't recieve the value of the Ajax Editor Control.
Its a Textarea behind the scene but its not possible for me to recieve the
value of my text.
- <head runat="server">
<title></title>
<script src="jquery-1.4.2.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
$("#Button1").click(function() {
alert($("#Editor1").val()); // undefined :-( .text() also
});
});
</script>
</head>
<body>
<form id="form1" runat="server">
<div>sd
<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"></asp:ToolkitScriptManager>
<cc1:Editor ID="Editor1" runat="server" />
</div>
</form>
<p>
<input id="Button1" type="button" value="button" /></p>
</body>
</html>
I have no problem with normal Textareas only the Editor Control from the
AJaxcontroltoolkit doesn't work.
Can you help me?
Thanks
Frederick