Jquery Function
问题 I am using the below code to set the character count on a textarea. This solution is working fine as far as i am passing the textarea ID. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <script type="text/javascript" language="javascript" src="jquery.js"></script> <script type="text/javascript"> $(document).ready(function() { var charactersAllowed = 255; // this is