X
Thinta lapha ukuze uye kuveshini yamakhalekhukhwini kusayithi.

Isithangami Sabeseki

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

How can I run JavaScript in the Thimble preview?

Kuphostiwe

When I create a JavaScript file, a default alert message shows up in the code section, but the alert does not appear in the preview, or when I click the "Refresh the Preview" button. Is this a bug, or is there a different way to run the script?

When I create a JavaScript file, a default alert message shows up in the code section, but the alert does not appear in the preview, or when I click the "Refresh the Preview" button. Is this a bug, or is there a different way to run the script?

Isisombululo esikhethiwe

Solved my own problem by linking to the js file in the html. For some reason I was thinking they were linked automatically. :|

Funda le mpendulo ngokuhambisana nalesi sihloko 2

Eminye Imininingwane Yohlelo

Isisebenziso

  • I-ejenti Engumsebenzisi: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0

Eminye Imininingwane

Isisombululo Esikhethiwe

Solved my own problem by linking to the js file in the html. For some reason I was thinking they were linked automatically. :|

Solved my own problem by linking to the js file in the html. For some reason I was thinking they were linked automatically. :|