Created
February 26, 2010 08:48
-
-
Save anonymous/315557 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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