http://webix.com/snippet/6e6ab2db
This snippet when run, and you click on ‘Add’ displays an error message. But locally this works.
Locally the code is wrapped in
<<>>
</script>
What have I done wrong?
http://webix.com/snippet/6e6ab2db
This snippet when run, and you click on ‘Add’ displays an error message. But locally this works.
Locally the code is wrapped in
<<>>
</script>
What have I done wrong?
I guess I need to ask “How can I embed ‘code’ in my questions”?
Basically standard HTML with reference to local stylesheet and css.
Good snippet: http://webix.com/snippet/14994c72
difference: Saved diff 2JHkhNa3 - Diff Checker
gimntut
MANY thanks. I doubt I would have found that on my own. Would you have a link to ‘window’ in the help?
Is the ‘window’ prefix required even if I was not displaying anything?
Enthusiasm level is still high, knowledge level is still low. There have been other comments about the challenges of learning Webix, but I still believe that the effort will be worthwhile in the long run.
pcd
The point is that the snippet tool uses its own iframe to process/show the result, so ordinarily, functions should be set to the window
.
> I guess I need to ask “How can I embed ‘code’ in my questions”
the syntax is similar to the standard markdown, but while a single line of code can be written within the backtick (`) symbols, the block of the code should be enclosed with the three tildes:
~~~
(or ~~~html/~~~js/~~~php
to highlight the particular syntax)
/*Some code*/
~~~
(closing tildes are always the same)