EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 27, 2024, 05:18:07 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
getValue
Pages: [
1
]
« previous
next »
Print
Author
Topic: getValue (Read 7387 times)
ClSoft
Jr. Member
Posts: 92
getValue
«
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.
Logged
Punkerr
Newbie
Posts: 37
Re: getValue
«
Reply #1 on:
February 21, 2013, 03:37:38 PM »
Try: $('#member_idx').val()
Define input
type
or
class
dude.
Logged
ClSoft
Jr. Member
Posts: 92
Re: getValue
«
Reply #2 on:
February 22, 2013, 12:33:11 AM »
val() works perfect with "input id" - thanks!
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...