how to create

77 views
Skip to first unread message

izhan khalib mohd

unread,
Dec 15, 2013, 9:00:08 PM12/15/13
to jquery...@googlegroups.com
hi,

how to produce <textpicker class="ui-dform-textpicker">data1</textpicker> wheres i can dynamicly change the value. for example:

{
    "type" : "textpicker",
  "value":"data1"
   }

will produce <textpicker class="ui-dform-textpicker">data1</textpicker>

and 

{
    "type" : "textpicker",
  "value":"data2
   }

will produce <textpicker class="ui-dform-textpicker">data2</textpicker> 

please share your knowledge

David Luecke

unread,
Dec 15, 2013, 10:46:50 PM12/15/13
to jquery...@googlegroups.com
You need to set the HTML content not the value:

{
    "type" : "textpicker",
    "html":"data1"
}

All subscribers are documented at http://daffl.github.io/jquery.dform/#subscribers


--
You received this message because you are subscribed to the Google Groups "jQuery dForm" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jquery-dform...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages