Skip to content

anonymous /gist:315557

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
var drop = new Y.DD.Drop({
node: '#defaultSlot'
});
drop.on('drop:hit', function(e) {
var out = e.drag.get('node').get('id');
dNum = parseInt(out.match(/\d+/),10);
this.get('node').set('innerHTML', dNum);
var trans = {
method: "POST",
data: "ID=dNum&first=yes",
headers: { 'X-Transaction': 'Post Transfer'}
};
var sUrl = "index.php?page=deckManager";
function makeRequest(){
var request = Y.io(sUrl, trans);
}
makeRequest();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.