Menu
I’d like to be able to extend the select element so I can use the following syntax:
[code]
select.load = function (data) {…};
my_select_element.load(data);
Instead I have to do the following (the horror…):
[code]
function load_select_element(select, data) {…}
load_select_element(my_select_element, data);
[/quote]
It’s a bit… 80’s, if you ask me.
Can I extend the properties of the select element, like the first example?
Cheers,
-Brendan