Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.post("[script URL]", {[variableName]:[variableValue], [variableName]:[variableValue]},
- function(data) {
- if (data["longerThan512"] == true) {
- // ask(...) or w/e.
- }
- }, "json");
- // Script returns JSON with a variable "longerThan512" - change if you wish.
- // Takes whatever variables, as defined above.
Advertisement
Add Comment
Please, Sign In to add comment