Title Back Colour Keyoti Title Line Title Curve
Blue Box Top

MultiText box spell check in Javascript - RapidSpell Web ASP.NET - Forum

Welcome Guest Search | Active Topics | Log In | Register

Options
Puneet
#1 Posted : Wednesday, December 17, 2014 1:30:02 AM
Rank: Member

Groups: Registered

Joined: 12/17/2014
Posts: 1
Hi,
I need to validate multiple textboxes using Javascript.
Please let me know what code I need to write in the javascript.

For validating one textbox (TinyMCE) I write:

var element = document.getElementById('mytextbox_ifr');
rapidSpell.setParameterValue(element, 'IgnoreXML', true);
rapidSpell.dialog_spellCheck(true, 'mytextbox_ifr');

Other two textboxes are normal "Input" type "Text"
Jim
#2 Posted : Wednesday, December 17, 2014 1:31:24 PM
Rank: Advanced Member

Groups: Administrators, Registered

Joined: 8/13/2004
Posts: 2,667
Location: Canada
Hi, almost there, you can parse an array of textbox IDs to dialog_spellCheck, eg.

Code:

rapidSpell.dialog_spellCheck(true, ['mytextbox_ifr', 'inputID', 'textboxID']);


where 'inputID' and 'textboxID' are the ids of your other 2 textboxes.

Best
Jim

-your feedback is helpful to other users, thank you!

-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.