简体   繁体   中英

A dynamic site that does not use JavaScript

I started using the python django framework. Can I open a dynamic site without using JavaScript? I find python easy to use and for some reason I don't like JavaScript.

In order to implement dynamic elements (such as displaying messages at button click without updating the site) you need to instruct the browser to change the respective DOM elements.

Currently the only fully supported language that browsers understand for that purpose is Javascript.

There are Javascript alternatives such as Dart or Typescript, but they need to be transpiled to Javascript to work with browsers.

So, practically you cannot build a dynamic website without Javascript at the moment.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM