Got it

bobef bobef at abv-nospam.bg
Thu Mar 27 05:17:27 PDT 2008


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/
> 
> 
> -- 
> 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