Hi,
I need a dijit.form.FilteringSelect with an additional variable named "personNumber".
My javascript
Code:
<script language="javascript">
dojo.declare("FilteringSelectPerson",dijit.form.FilteringSelect, {
constructor: function(personNumber){
// remember, dijit.form.FilteringSelect constructor is called automatically
this.personNumber=personNumber;
},
personNumber: function(){
return digit.byId(this).personNumber;
}
}
);
dojo.provide("FilteringSelectPerson");
</script>
My html includes
along with the usual id=, etc.
The problem is when I try to get the value of personNumber with
Code:
dijit.byNode(node).personNumber
the value returned is "undefined".
Other values like id return correctly.
Suggestions?
Thank You in Advance for Your Help,
Lou