i have checked the DOM tree and every thing is working fine...
The same works fine in mozilla firefox...
I m here by pasting the screen shot taken in the internet explorer..
The code i have written is
render :update do |page|#rjs for posting comment and replacing the
element
@video=Video.find_by_id(@comment.video_id)
@comments= Comment.find(:all,:conditions=>["video_id
=?",@comment.video_id],:limit=>5,:order=>"created_at DESC")
page['result'].replace_html :partial => 'partials/comments',
:object => @comments #here @comments is the object i m passing to the
partial and result is the html element that i m updating
page['my_form'].reset #my remote_form_for id
flash[:notice] = "Thank you for commenting this video"
page.replace_html :message, flash[:notice], :object=>
flash[:notice]
flash.discard
page.visual_effect :highlight, 'result', :duration => 2 #for
highlighting the result div
page.visual_effect :highlight, 'message', :duration => 2
#this is the flash message
page.visual_effect(:fade, 'comments', :duration => 0.5)
end #end for rjs