"Live, Dynamic" text generation with jQuery using replace()

When you manage a bunch of similar devices, it's nice to generate consistent configurations quickly. I built a config file generator last week which you embed the variables in plain text such as "$hostname." Then a web form is generated based off those embedded variables and a find and replace is done on the config text. The app has been up and running for a about a week and has made our deployment of new gear at sites a snap. I wanted to add some candy to it. So now what happens is when you enter values into form fields the configuration file is generated in "real time" in front of your own two eyeballs. live_edit_1 live_edit_2 live_edit_3

View Demo

Tagged as highlight , jquery
Written by Andrew Konkol on May 23rd, 2011

0 Comments

Log in with Twitter, Google, Facebook, LinkedIn to leave a comment.