If you can’t edit the source, JavaScript finds a way

di-logo

We have clients that often want to edit our super simple free no frills basic calculator. Sorry bud, I can’t add more functionality to it, but whatever exists can be changed. And in this case, we just needed to add some “placeholder” text.

I don’t have access to this form, but like all web forms, I know which attributes will be part of an <input> field. And with just a few swishes of my JavaScript wand, I can find the ID and insert some text.

Tools: JavaScript.

Author: admin