Sie sind nicht angemeldet.

1

Mittwoch, 14. März 2012, 14:48

Textfield with combobox

Hi,

How can will i code this scenario.

My combobox is on top over the textfield.

I click the combobox, drop down list displays... Now as the combobox dropdown list is still displayed. I want that when i click the textfield, the combobox dropdown list collapses.

Help please?

Thank you

Bryan

2

Donnerstag, 15. März 2012, 06:15

anyone please?

3

Donnerstag, 15. März 2012, 08:58

textfield with combobox

Hi,

here's my code below that i want the combobox drop down list to close when i click on the textfield swf area. but i got an error and the list will not close.

Am i missing something on the code.
<plugin name="header" url="header.swf" keep="true" width="100%" height="40" align="topleft" x="0" y="-2" alpha="1" backgroundcolor="0xffffff" bordercolor="0xffffff" selectable="false" onclick="action(combobox.closeList());" />


WARNING: not local trusted - ExternalInterface disabled!
ERROR: action not found: combobox.closeList

appreciate your help.

Thanks,

Zephyr

Profi

Beiträge: 1 003

Wohnort: Netherlands

Beruf: Web developer

  • Nachricht senden

4

Donnerstag, 15. März 2012, 09:23

try

<plugin name="header" url="header.swf" keep="true" width="100%" height="40" align="topleft" x="0" y="-2" alpha="1" backgroundcolor="0xffffff" bordercolor="0xffffff" selectable="false" onclick="plugin[combobox].closeList();" />

5

Donnerstag, 15. März 2012, 09:25

ZZZEEEEPPPHHHYYYRRR!

was awesome. I never thought just a simple "[ ]" could make a difference

THANK YOU SO MUCH!

Ähnliche Themen