Matthew6439702
Posts: 0
Joined: Sun Nov 24, 2013 1:10 am

Transposing fields

Image

Following your tutorials of, "How to get input, radio button values from the page," I can make it work just fine. But I want to do the same type of thing for an input field.

Code: Select all

  var choose1 = $('input:radio[name=radiogroup]:checked').val(); 
 var getval= Tiggr('input'); 
 getval.val(choose1); 

This is what I can't get to work with an input field rather than a radio button. What am I doing wrong?

var num = $('input').val();
var getval= Appery('input');
getval.val(num);

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Transposing fields

If you want to use jQuery, first test that $('input') selects the right element.

For Appery(..) function to work, the input component name should be 'input'. Just try Appery("input").val() -- to see if that works.

Return to “Issues”