Question: I want to access a Darwin iCal server which i have implemented using my Rails application. I would like to create events and access the server to get events in specific date range. When I tried to install the [Caldav gem](http://rubygems.org/gems/caldav), I am getting a dependency with the "rexml" gem. 

> 
> Could not find gem 'rexml (>= 0) ruby', which is required by gem
>  'caldav (>= 0) ruby', in any of the sources.
> 
> 
> 

Unfortunately rexml is not there in gemscutter or any other sources. Any idea how I can use the Caldav gem ?

Answer: 
I'm not sure but i've figured out this from what i understand you want like this? 

```
$('#NewCustomerDiv input[name=CompanyName]').keyup(function () {
   if($(this).val().length > 0) {
       if($(this).val() == "test")
           $('#CustomerCompanyDiv').slideUp("slow");
       else        
           $('#CustomerCompanyDiv').slideDown("slow");
   } else {      
       $('#CustomerCompanyDiv').slideUp("slow");
   }
});

```

[**Fiddle**](http://jsfiddle.net/7NTEk/2/)
Use the PLACEHOLDER Parameter to inform users of the functionality of a form element:

```
<input type="text" name="CompanyName" placeholder="Type test to slide up"/>

```