src/Easy/Element/InputDateRangePicker.php
public function render() {      
    	$this->cssClass=null;
    	$this->cssErrorClass = null;
    	$this->cssHoverClass = null;   
    	
   		if($this->value!=null){
    		$value = $this->value;
    	}else{
    		$value = $this->getText();
    	} 
    	
    	if($value==""){
    		$value = $this->getDefaultValue();
    	}
        $events = $this->getEvents();           
		    	
        $event_onchange = $events['onchange'];
        
        $sHTML = "<div class=\"input_daterangepicker\">
        <div class=\"ui-daterangepicker-arrows\">
        
        <a href=\"#\" class=\"ui-daterangepicker-prev\" title=\"Prev\"><span class=\"ui-daterangepicker-prev\"></span></a>
        <a href=\"#\" class=\"ui-daterangepicker-next\" title=\"Next\"><span class=\"ui-daterangepicker-next\"></span></a>
        
        <a class=\"ui-daterangepicker-inputbar\">
        <INPUT NAME=\"" . $this->objectName . "\" ID=\"" . $this->objectName ."\" VALUE=\"" . $value . "\" class=\"ui-rangepicker-input ui-widget-content\" style=\"border:none\"  />
        </a>
        </div>
        ";
        
        $sHTML .= "
        </div>
        <script>
        \$j(document).ready(function(){
	        \$j('#".$this->objectName."').daterangepicker(
	        { arrows:true,
	          onChange:function(){
		    		$event_onchange
		    	}
		    });
	    });
        </script>
        
        ";
        return $sHTML;
    }
public function render() {      
    	$this->cssClass=null;
    	$this->cssErrorClass = null;
    	$this->cssHoverClass = null;   
    	
   		if($this->value!=null){
    		$value = $this->value;
    	}else{
    		$value = $this->getText();
    	} 
    	
    	if($value==""){
    		$value = $this->getDefaultValue();
    	}
        $events = $this->getEvents();           
		    	
        $event_onchange = $events['onchange'];
        
        $sHTML = "<div class=\"input_daterangepicker\">
        <div class=\"ui-daterangepicker-arrows\">
        
        <a href=\"#\" class=\"ui-daterangepicker-prev\" title=\"Prev\"><span class=\"ui-daterangepicker-prev\"></span></a>
        <a href=\"#\" class=\"ui-daterangepicker-next\" title=\"Next\"><span class=\"ui-daterangepicker-next\"></span></a>
        
        <a class=\"ui-daterangepicker-inputbar\">
        <INPUT NAME=\"" . $this->objectName . "\" ID=\"" . $this->objectName ."\" VALUE=\"" . $value . "\" class=\"ui-rangepicker-input ui-widget-content\" style=\"border:none\"  />
        </a>
        </div>
        ";
        
        $sHTML .= "
        </div>
        <script>
        \$j(document).ready(function(){
	        \$j('#".$this->objectName."').daterangepicker(
	        { arrows:true,
	          onChange:function(){
		    		$event_onchange
		    	}
		    });
	    });
        </script>
        
        ";
        return $sHTML;
    }
Render / draw the element according to the mode

@return string HTML text