[TYPO3-dev] ExtJS date pickers and date ranges (working	prototype maybe for Core?)
    Stefano Cecere 
    scecere at krur.com
       
    Mon Nov 15 10:37:22 CET 2010
    
    
  
hi
i have quite finished my patch for this feature, BUT i would need some  
help with RegExp (i'm not good with it!)
to simply everything i pass the lower and upper date limits in the input  
classes, like
class="tceforms-textfield tceforms-datefield lower-100000 upper-2000000"
i can easily check the presence of those params within JS (with  .. . if  
(element.dom.className.match(/upper/)) {
QUESTION: qhat is the easiest way to get the parameter (100000 for  
example?)
i'd like to extract the "lower-100000" token, and then split by '-'
any help?
thank you!
stefano
    
    
More information about the TYPO3-dev
mailing list