Tuesday, 27 August 2013

how to use javascript for string words comparision

how to use javascript for string words comparision

I am using two text areas. Project is about online typing test. I used two
text area. First textarea contains the matter to be typed in second
textarea. For calculating the the net typing speed I need a javascript
diff algorithm. This algo fits my all requirements..which uses this
javascript file for differencing of two strings. This is a demo which uses
the same javascript file...You should have look of this demo. But I how
can I know count correct words typed? Trouble is that the javascript file
provided is not using any comments nor gives any documentation.

No comments:

Post a Comment