I have this code:
jQuery('.header-search, .calendar ').click(function(){ jQuery('.header-search-form').css({ 'display' : 'block' }); jQuery('.s').focus(); });
.calendar is a
<a class="calendar" href="#">Calendar</a>
The problem is that JUST .header-search is working. What's wrong?
Works fine for me: http://jsfiddle.net/qLUHy/
This is maybe more bulletproof : http://jsfiddle.net/qLUHy/1/
I have this code:
.calendar is a
The problem is that JUST .header-search is working. What's wrong?
Works fine for me: http://jsfiddle.net/qLUHy/
This is maybe more bulletproof : http://jsfiddle.net/qLUHy/1/