Page 1 of 1

Manipulating components

Posted: Fri Feb 28, 2014 10:37 pm
by Michael Iverson

I am trying to manipulate a Select component on Appery.io with JqueryMobile in a JS file. Yet, it does not seem to do anything.

Select Class:UnitLog

Jquery in JS File: $('').val(i).text(this.UNIT).appendTo(".UnitLog");

The first '' is suppose to be an option, but the editor will not show it.


Manipulating components

Posted: Sat Mar 01, 2014 4:01 am
by Illya Stepanov

Hi Michael,

Can you explain with more details -- what option should it be?
What do you trying to do in overall?


Manipulating components

Posted: Sun Mar 02, 2014 4:50 pm
by Michael Iverson

I am using Javascript to add dynamically to a select component the option statement . For example

select
option value="1" Hi /option
option value="2"hello /option
/select

Now the select is from the UI provided by Appery, but I have a class name associated with the Component, but the selector for the class in Jquery or JavaScript does not seemed to be working.


Manipulating components

Posted: Mon Mar 03, 2014 9:34 am
by Nikita

Hello!
Please clarify again what are you really going to do? It seems that something is wrong, because all the selectors are working fine...