Got it

yidabu yidabu.nospam at gmail.com
Sun Mar 30 03:53:54 PDT 2008


Thanks! bobef, HTMLayout is a wonderful library, the only problem seems documentiations and examples, e.g. how to get or set element value, I can not understand that some times some methods work fine, but some times failed. 


On Thu, 27 Mar 2008 08:17:27 -0400
bobef <bobef at abv-nospam.bg> wrote:

> Sorry, I wasn't around :)
> 
> I use elePlaintext.innerText usually. It works fine for me. Your solution is also fine, but it uses the JSON structure.
> 
> yidabu Wrote:
> 
> > just:
> > (*plaintext.value).toString
> > 
> > On Wed, 19 Mar 2008 20:43:05 +0800
> > yidabu <yidabu.nospam at gmail.com> wrote:
> > 
> > > 
> > > It's too slowly to open dsource form from China this time, so I ask here :)
> > > 
> > > get user changed value of input control, just element.elementText,
> > > but how to get user changed value of plaintext control ?
> > > 
> > > I tried methods below, all failed:
> > > 
> > > elePlaintext.attribute("value"));   //old value
> > > elePlaintext.elementText);          //nothing ?
> > > elePlaintext.innerText);            //nothine ?
> > > elePlaintext.innerHTML);            //old value
> > > elePlaintext.outerHTML);            //old value


-- 
yidabu <yidabu.nospam at gmail.com>
D语言 中文支持(D Chinese Support)
http://www.d-programming-language-china.org/
http://bbs.d-programming-language-china.org/
http://dwin.d-programming-language-china.org/
http://scite4d.d-programming-language-china.org/


More information about the Digitalmars-d-dwt mailing list