Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trigger code behind function in vb.net (and passing parameters) #151

Open
gabryk91 opened this issue Oct 16, 2017 · 0 comments
Open

Trigger code behind function in vb.net (and passing parameters) #151

gabryk91 opened this issue Oct 16, 2017 · 0 comments

Comments

@gabryk91
Copy link

gabryk91 commented Oct 16, 2017

Sorry, I'm not very good at javascript, I'm using this plugin and I need to trigger a code behind when user drag items to one panel to another. Items are populated from db and basically I have to save the item state, question is: how can I get a reference to the involved item?
I have:

$(window).load(function () {
            $(".container").shapeshift({
                minColumns: 3
            }).on('ss-added', function (e, selected) {
                alert($(selected).index());
            });
        });//]]> 

This returns the item index whitin the container but I don't know how can I get the reference to the db record (rapresented by the dragged item). Any help? Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant