On Tue, Mar 13, 2012 at 4:35 PM, Sushant Taneja
<[email protected]>wrote:

> $(function(){
>     $('.flipLink').click(function(e){
>     $('#formContainer').toggleClass('flipped');
> $('.flash').hide('slow');
> })});
>

The problem is that this JS is loaded before the ajax component, you have
to bind the event using .live .bind or .on

example:

*$(document).on("click", ".flipLink", function(event){
        $('#formContainer').**toggleClass('flipped');**
        $('.flash').hide('slow');**
});*



-- 

Bruno Rocha
[http://rochacbruno.com.br]

Reply via email to