Title Back Colour Keyoti Title Line Title Curve
Blue Box Top

An Error while changing focus - RapidSpell Web ASP.NET - Forum

Welcome Guest Search | Active Topics | Log In | Register

Options
Roman
#1 Posted : Thursday, March 26, 2015 1:13:20 PM
Rank: Newbie

Groups: Registered

Joined: 3/19/2015
Posts: 8
I've wrote a simple code as follows:

<script type="text/javascript">
var count = 0;
function Button1_Click()
{
var div = document.getElementById("form1");
var input = document.createElement("textarea");
input.id = "id" + count;
count++;
input.maxLength = "100";
input.cols = "10";
input.rows = "10";
div.appendChild(input); //appendChild
rapidSpell.ayt_setupTextBoxes(true);
return false;
}
</script>


I open dynamically a few textareas, when I type, the spellChecker starts working, and if I write in one textArea and change the focus immediately on another, an error occurs which keeps repeating it self in a loop.
it comes to thousands of errors. All of them of the simmilar type:

Uncaught TypeError: undefined is not a function
VM17847:1 Uncaught TypeError: Cannot read property 'length' of undefined
VM17847:1 (anonymous function)

24RapidSpell-AYT.js:1301
Uncaught TypeError: undefined is not a function
RapidSpell-AYT.js:1301
rsw_checkValuesForChange


What is the problem, and can it be fixed?
Thanks
Jim
#2 Posted : Thursday, March 26, 2015 5:03:11 PM
Rank: Advanced Member

Groups: Administrators, Registered

Joined: 8/13/2004
Posts: 2,669
Location: Canada
Thanks, I was able to reproduce it, and it seems to be fixed already in our current build - so please update your script to this version.

https://www.dropbox.com/...g/RapidSpell-AYT.js?dl=0
-your feedback is helpful to other users, thank you!


Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.




About | Contact | Site Map | Privacy Policy

Copyright © 2002- Keyoti Inc.