Michael Iverson
Posts: 0
Joined: Tue Dec 31, 2013 6:22 pm

Manipulating components

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.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Manipulating components

Hi Michael,

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

Michael Iverson
Posts: 0
Joined: Tue Dec 31, 2013 6:22 pm

Manipulating components

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.

Nikita
Posts: 0
Joined: Fri Feb 28, 2014 4:02 pm

Manipulating components

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

Return to “Issues”