diff --git a/sources/29-web2py-english/05.markmin b/sources/29-web2py-english/05.markmin index 57d7f5c5..a8c92309 100644 --- a/sources/29-web2py-english/05.markmin +++ b/sources/29-web2py-english/05.markmin @@ -1915,5 +1915,15 @@ var someURL = "{{=URL('default', 'myfunction')}}"; ``:code +or equivalently using the web2py ``ASSIGNJS`` helper: + +`` + +``:code + then in "my.js", ``someVar`` and ``someURL`` can be used as normal javascript variables. +