This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
uphp:ajax_generation [2019/07/22 06:41] admin created |
uphp:ajax_generation [2021/09/13 05:57] (current) |
||
---|---|---|---|
Line 10: | Line 10: | ||
" | " | ||
" | " | ||
- | " | + | " |
" | " | ||
- | {" | + | {" |
- | {" | + | {" |
], | ], | ||
</ | </ | ||
End each parameter with a comma (,). | End each parameter with a comma (,). | ||
+ | |||
+ | ==== Generating AJAX in Blockly ==== | ||
+ | Below is an example script that will increment a global variable ' | ||
+ | {{: | ||
+ | |||
+ | Example output of this: | ||
+ | <code json> | ||
+ | " | ||
+ | </ | ||
+ | |||
+ | Note that the hook 'In Ajax Generation' | ||
+ | |||
+ | To see how to use this variable on the home page, see [[Blockly Home Page Hook]] | ||
+ |