2008年10月20日星期一

[fw-mvc] Remove value attribute from dojo button

Hello,

I've been pulling my hair out trying to remove the "value" attribute from Zend Dojo Button or Zend Dojo SubmitButton elements. Neither the removeAttrib method nor explicitely setting the value = null have any effect. The problem is that IE notoriously displays the value of a button tag as the only content of the button instead of the HTML enclosed by the button tag, removing any Dojo goodness such as icons, so I would like to remove the unnessecary attribute. How?

Thanks for any hints,
Bernd

--
___________________________________

Bernd Matzner

Christburger Str. 3
D-10405 Berlin
Telefon: +49 (30) 41715994
Telefax: +49 (30) 41715984
Mobil:   +49 (163) 6289637
Skype:  berndmatzner
E-Mail:  mail@berndmatzner.de
___________________________________

Beruflich:
Informationsarchitekt

Telefon: +49 (30) 80962534
Telefax: +49 (30) 80962536
bernd@matznermatzner.de

MatznerMatzner
http://matznermatzner.de
___________________________________

没有评论: