Created
October 1, 2012 21:28
-
-
Save f0t0n/3814540 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 contact = { | |
menu: null, | |
state: null, | |
access: null, | |
fill: function() { | |
this.menu = 1; // $("div#sm").innerhtml(); | |
this.state = 2; | |
this.access = 3; | |
} | |
}; | |
contact.fill(); | |
$.post("myfile.php", {contact: contact}, function(data) { | |
alert(data); | |
}); | |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment