Altering HTML Text
Ray at LinkIt.Com
Tue Feb 23 11:38:07 CST 2010
Thanks Jim, but we may be speaking of two different things here. I'm
really not setting the htmlText of a field at all. Instead, I'm using
the RevBrowse library of commands to display a URL. The goal is to
get the source code of the html (like you would with 'View Source' in
a browser), alter it, and then use the RevBrowse commands once again
to re-display the new URL.
The way I'm getting the source code is using something like:
put revBrowserGet(sBrowserId,"htmlText") into mySourceCode
I'd then like to alter it and put it back with something like:
revBrowserSet sBrowserId,"htmlText", mySourceCode
The problem is, even if I don't alter it and simply put it back as I
found it I don't get the same display.
Any further ideas are always appreciated!
On Feb 22, 2010, at 5:20 PM, Jim Ault wrote:
> On Feb 22, 2010, at 8:01 PM, Ray Horsley wrote:
>> Is the HTML encoding a property as in get the htmlEnccoding of
>> myVar, or is it something else?
> Fields have the htmlText property since they display text.
> Variables don't display text.
> You can put the htmlText of fld 1 into a variable, or a custom
> property, or write it to a file.
> Hope this helps.
> Jim Ault
> Las Vegas
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the use-livecode