Hi Stephan,

I can't find any notation example for the description field with class
parameter in comboboxes e.g. here
http://www.mediawiki.org/wiki/Extension:Semantic_Forms_Inputs
Could you provide one?


-----Ursprüngliche Nachricht-----
Von: Stephan Gambke [mailto:s7ep...@gmail.com] 
Gesendet: Freitag, 21. März 2014 13:42
An: Lists
Cc: Semantic MediaWiki developers
Betreff: Re: [SMW-devel] Semantic Forms [Semediawiki-user]

Comboboxes support the 'class' parameter in their field description.
Its value will be set in the class attribute of the select HTML element.
Maybe you can use that to identify your element. AFAIK the combobox element
does not have a setter for its value, but I think it should work if you just
set the value of the input. The combobox's changed-event handler should then
take care of setting the value of the select element.

On 21 March 2014 11:45, Lists <li...@psycholutions.com> wrote:
> Hi,
>
>
> I want to attache an onChange-handler to a combobox. Unfortunately I 
> see a doubled DOM-ID "input_23".
> And the Select-Input is hidden, followed by a text-input and button 
> without any ID, wich I can't reach too.
>
> Any suggestions to solve this?
>
> I want to set a value of a combobox depending on another combobox and 
> it's selected value via JavaScript.
>
>
> MediaWiki       1.20.8
> Semantic MediaWiki (Version 1.8.0.4)
> Semantic Forms (Version 2.5.2)
>
>
> ----------------------------------------------------------------------
> -------- Learn Graph Databases - Download FREE O'Reilly Book "Graph 
> Databases" is the definitive new guide to graph databases and their 
> applications. Written by three acclaimed leaders in the field, this 
> first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> _______________________________________________
> Semediawiki-devel mailing list
> Semediawiki-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to