Question:
Javascript question about dynamic forms?
2007-01-02 11:30:04 UTC
I am making a module to offer other webmasters for their sites. The issue I have is that I want the module to be able to accept changes from my end when I make updates. I could use PHP, but wanted to make it universally available.

Anyway, for example (and a terrible example, but it works!)...let's say there is an input field with all 50 states. Let's say that for some reason the US added another state. How do I make the module capable of dealing with such a TYPE of change? Any code snippets would be helpful. If you actually need to see what I have specifically in mind, feel free to contact me.

Thanks!
Three answers:
2007-01-02 15:24:03 UTC
Well, if other people simply included your module in their Web sites inside an IFRAME, you could host the module yourself, on your server, and update it to your heart's content.



For example, you would host module.php and tell your clients that it will fit in an IFRAME that is 200px wide by 300px tall. Then, on their end, they just call the IFRAME to include it: