How do use dojo TextBox attr function to get value?

Posted by gath on Stack Overflow See other posts from Stack Overflow or by gath
Published on 2009-04-09T18:27:17Z Indexed on 2010/04/06 0:03 UTC
Read the original article Hit count: 265

Filed under:

How can i get the value of a Dojo TextBox?

Am doing this;

dijit.byId("textName").getValue();

But firbug tells me getValue() is deprecated! is use attr('value')!

but i have no clue on how to use attr('value') function

Help

Gath

© Stack Overflow or respective owner

Related posts about dojo