Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

OnClick Event

Guest
Jul 27, 2008 Jul 27, 2008
Does anyone of you'll know if dropdown lists have an onClick event?

Regards
Norbert
TOPICS
Scripting
837
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 27, 2008 Jul 27, 2008
Sorry,

Just figured out that there is an onChange event for dropdowns

Cheers
Norbert
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 27, 2008 Jul 27, 2008
I've stumbled upon another problem with onChange.

if I do alert(this.selection), it alerts me with the name in the list

but when I do var x="/C/XYZ"+this.selection I get the index number of
the selection alert(x) give me the alert /C/XYZ/1

Any ideas?

Regards
Norbert
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 27, 2008 Jul 27, 2008
You want: this.selection.text


Harbs
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 27, 2008 Jul 27, 2008
Thanks Harbs

Appreciate this!!

Regards
Norbert
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 28, 2008 Jul 28, 2008
You're welcome.

You should take a look at the ListItem Script UI class in the OMV.

Harbs
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 28, 2008 Jul 28, 2008
Hi Harbs,

Excuse my ignorance but all that I know of scripting has been with the help of this forum but haven't heard of OMV before. What is it?

Regards
Norbert
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jul 28, 2008 Jul 28, 2008
Object Model Viewer.

You can get to it from the ESTK 2 Help menu.

Dave
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 28, 2008 Jul 28, 2008
Thanks Heaps Dave,

I'm pretty new to CS3 so appreciate any help that I get. Also I never used ESTK when I scripted CS2 I did it straight from notepad.

Regards
Norbert
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 28, 2008 Jul 28, 2008
>
> I'm pretty new to CS3 so appreciate any help that I get. Also I never used ESTK when I scripted CS2 I did it straight from notepad.

Yikes! If you don't go with ESTK2 for editing, at least get Notepad++.=

-X
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 28, 2008 Jul 28, 2008
LATEST
Hi xbytor,

I have begun using ESTK2 now.

Cheers
Norbert
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines