Hi I have the code
@service_desk_resolution=ServiceDeskResolution.find @sd_resolution_id @sd_resolv=ServiceDeskResolutionEffort.new @ret_val=@sd_resolv.checkdata(@sd_effort) error_value=0 respond_to do |format| @error_message='' @ret_val.each do |val| if val=='nonnumeric' @error_message=@error_message+'<br>'+'Please enter the numeric value for effort.'+'<br>' error_value=1 end end if @sd_ticket.service_desk_cis.empty? @error_message=@error_message+'<br>'+'No associated CIs.'+'<br>' error_value=1 end if error_value==1 format.js do #here get IE6 problem puts 'in format.js' render :action => 'sd_resolution_range_nonnumeric_ci_check.rjs' end format.html do puts 'in error else part format.html' flash[:notice]=@error_message redirect_to :action => 'define_sd_resolution_ui',:id => params[:id] end
And I am calling the same from both ajax and normal way(ie link_to and link_to_remote)..It is working properly in Firefox..But when I checked in IE6 what happens is if the clicked link is link_to then also it ennters to format.js instaed of format.html And I can't figure out why this happens in IE6.Please help
Thanks in advance Sijo