Skip to content

Render partial not working in ajax:success #634

@rainyhuynh

Description

@rainyhuynh

I need to load partial after ajax:success but not working
$('.bom-success').bind("ajax:success", function(){ $('.building-bom').html("<%= escape_javascript(render "deals/contents/building_bom") %>") });

Can you give me advice how to solve this problem.

Thank you very much.
Rainy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions