Page is a not externally linkable
- Code, Content, and Presentation
-- JavaScript and AJAX
---- Extracting Values from Javascript for Conversion to Another Language


rugrat - 1:20 am on Mar 19, 2012 (gmt 0)


Trial and more error
I'm using the following javascript along with the scriptaculous.js and prototype.js:

<script type="text/javascript">
function updateOrder(){
var options = {
method : 'post',
parameters : Sortable.serialize('firstlist')
};
new Ajax.Request('g2.pl', options);
}
Sortable.create('firstlist', {constraint:'vertical', onUpdate : updateOrder});
</script>

What would be the variable names getting passed through the post method? Seems no matter what I try I can't get the variable values returned.


Thread source:: http://www.webmasterworld.com/javascript/4430167.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com