|
Title: getValue Post by: ClSoft on February 21, 2013, 02:38:56 PM Hi all
I have this: <div class="fitem"><input id="member_idx" name="member_id" ></div> now I need to read in JavaScript value of member_idx I try this: current = $('#member_idx').getValue; alert(current); (alert says "undefined") of this current = $('#member_idx').getValue(); alert(current); (no alert) any idea? thanks. Title: Re: getValue Post by: Punkerr on February 21, 2013, 03:37:38 PM Try: $('#member_idx').val()
Define input type or class dude. Title: Re: getValue Post by: ClSoft on February 22, 2013, 12:33:11 AM val() works perfect with "input id" - thanks!
|