Given a string contains hex characters (group by two) we can convert to ASCII characters using the following Javascript Function (takes two characters and convert to decimal and then …
We want to be able to call a javascript function to replace a value with a query string Key. The examples: updateURL("https://www.example.com/?name=name&age=25", "name", "hello") 'https://www.example.com/?name=hello&age=25' updateURL("https://www.example.com/?name=name&age=25", "age", 12) 'https://www.example.com/?name=name&age=12' …
The javascript (in HTML, the browser DOM i.e. Document Object Model) does not have a inbuilt/inherent @include method/function that allwos us to load dynamically another Javascript file/lib. But this …
On Steem Blockchain, we can either proxy a witness vote or cast a witness vote (out of 30 votes) to a steem witness. We can use the steemjs library …
In Tron Blockchain, you can freeze your TRX assets as either energy or bandwidth, and then vote for your preferred witnesses (or called SR = Super Representative). Each SR …