|
|
Feedback on: irt.org FAQ Knowledge Base Q1282
irt.org | About | Feedback | 2001 [ previous next ] Feedback on: Sent by Worth: Comments: Actually the function compareText is like this function compareText(a,b) { a.text - b.text;} This return an error because the operation expects numbers instead of text to solve that I propose replace the function with this function compareText(a,b) { x = 0; if (a.text < b.text) x=-1; else x=1; return x;} That works for me... And Thanks for provide good solutions.. and most of the answers of my FAQS :) |
-- div -->
|