rajeev_jboss
8th July 2008, 04:17 PM
Hi
I have installed JSpell on my m/c.
Now I want to use it on my xhtml page, so I have included these twoline in <head> section:-
<script src="scripts/jspellSettings.js" language="JavaScript" type="text/javascript" charset="ISO-8859-1"></script>
<script src="scripts/jspellEvolution.js" language="JavaScript" type="text/javascript" charset="ISO-8859-1"></script>
I have also written: -
<script>
window.onload=jspellInit;
function getSpellCheckArray() {
var fieldsToCheck=new Array();
fieldsToCheck[0]=[document,"lastName"];
}
</script>
Now whenever the page loads it gives a JavaScript error:-
'length' is null or not an object.
What could be the problem???
The JSpell does not seem to work...:confused:
Also why is the .js files with special characters:
for e.g.
var Ò=new Object();
Ò.Ó=document.location.href.indexOf(Ol("q\177kvz"))===0;
Ò.Ô=navigator.userAgent.toLowerCase();
Ò.Õ=document.all
Is this the way JSpell wants it or the file is corrupted???
Please reply asap.
Thanks
I have installed JSpell on my m/c.
Now I want to use it on my xhtml page, so I have included these twoline in <head> section:-
<script src="scripts/jspellSettings.js" language="JavaScript" type="text/javascript" charset="ISO-8859-1"></script>
<script src="scripts/jspellEvolution.js" language="JavaScript" type="text/javascript" charset="ISO-8859-1"></script>
I have also written: -
<script>
window.onload=jspellInit;
function getSpellCheckArray() {
var fieldsToCheck=new Array();
fieldsToCheck[0]=[document,"lastName"];
}
</script>
Now whenever the page loads it gives a JavaScript error:-
'length' is null or not an object.
What could be the problem???
The JSpell does not seem to work...:confused:
Also why is the .js files with special characters:
for e.g.
var Ò=new Object();
Ò.Ó=document.location.href.indexOf(Ol("q\177kvz"))===0;
Ò.Ô=navigator.userAgent.toLowerCase();
Ò.Õ=document.all
Is this the way JSpell wants it or the file is corrupted???
Please reply asap.
Thanks