From 9aa263863d849181d3a8f97897dd6323699ad374 Mon Sep 17 00:00:00 2001 From: Felix Nagel Date: Mon, 29 Nov 2010 03:22:07 +0100 Subject: added: improved index and value methods, if you used value method in your scripts please see https://github.com/fnagel/jquery-ui/issues/#issue/33 fixed: forgotten console debug --- demos/selectmenu/default.html | 2 ++ demos/selectmenu/methods.html | 36 ++++++++++++++++++++++++++---------- 2 files changed, 28 insertions(+), 10 deletions(-) (limited to 'demos') diff --git a/demos/selectmenu/default.html b/demos/selectmenu/default.html index fed7f2f0f..28ec1c3bd 100644 --- a/demos/selectmenu/default.html +++ b/demos/selectmenu/default.html @@ -70,8 +70,10 @@ return newText; } +
diff --git a/demos/selectmenu/methods.html b/demos/selectmenu/methods.html index 5504950a6..8d82af78d 100644 --- a/demos/selectmenu/methods.html +++ b/demos/selectmenu/methods.html @@ -22,28 +22,43 @@ -

- getValue - setValue to 4 + method index without paramaters (get index)
+ method index with paramater '4' (set index by number)
+ method value without paramaters (get value)
+ method value with paramater 'Medium' (set value by string)
+ method value with paramater '4' (passed as number)
+ method value with paramater '11' (passed as string)
+ method value with paramater 'test123' (not existing value)

"default popup" Style

@@ -54,6 +69,7 @@ +
-- cgit v1.2.3