I kind of understand where you are coming from and the only advice I can give you on this is to look into the eval() tag. The eval() function evaluates and/or executes a string of JavaScript code. First, eval() determines if the argument is a valid string, then eval() parses the string looking for JavaScript code. If it finds any JavaScript code, it will be executed.
So you could parse the text inside of a DIV or any element by using the eval() tag. Sorry I couldn't help you further.
Dwayne
2010-06-18 07:05:04