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"
|
Rank: Advanced Member
Groups: Administrators, Registered
Joined: 8/13/2004 Posts: 2,669 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!
|