I am using a Button type of image so I am calling the below functon from my onclientclick event
var spell = GetRadSpell('<%= txtDescription.ClientID %>');
This works fine but I would like to pass in the text box control to check instead of hard coding it. I need to check 10 large text fields on my form and do not want to create a function for each, nor check them all at once.
How can I modify the above function so that it is generic to enable the passing of the control?