Skip to content

Update data-url using Jquery #31

@manaka02

Description

@manaka02

Hello,

Is there a way to update the data-url using JQuery ? I tried something like this,

var datatableCanva = $('.hello-bootstrap-table');
var url = datatableCanva.data('url');
var newUrl = url + '?' + form.serialize();
datatableCanva.bootstrapTable('refreshOptions', {
    url: newUrl
});

It made a call to the URI but didn't update the data-url of the table !

thanks

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