Are There Any Programming Languages Other Than Javascript That Can Access And Update Html Dom?
Solution 1:
There are DOM APIs for just about every programming language out there.
And the list goes on.
If you are asking about programming languages supported by web browsers, then JavaScript is the only practical one although there are others (TypeScript most notably) which can be transpiled to JavaScript before being sent to the browser.
Solution 2:
If you want to access the DOM in the browser, you must use javascript only. for example if you want to open popup after user click on some button in your site, only javascript can do it for you because it is client side programming language for browsers.
But if you want to read some HTML page in your program you can do it in any language. the only thing you need is a HTML parser. for example if you want read products of an online store you can get html text content and then use HTML parser to read it in your programming language.
Solution 3:
In the browser? Basically only JavaScript, at least these days.
But many other languages can work with a DOM, or event the browser DOM, like VBscript, Visual Basic, or Java (even from Applets).
Post a Comment for "Are There Any Programming Languages Other Than Javascript That Can Access And Update Html Dom?"