EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
July 19, 2025, 07:25:06 AM
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
>
Saving passed value to variable
Pages: [
1
]
« previous
next »
Print
Author
Topic: Saving passed value to variable (Read 3476 times)
stephenl
Newbie
Posts: 40
Saving passed value to variable
«
on:
December 31, 2024, 08:15:48 AM »
Hello
I have the following
Code:
function doSearch(){
$('#dg').datagrid('load',{
name: $('#name').val(),
});
}
Which works well ie passed the parameters to server.
How would I save the parameter value to a var ??
Thank you
Logged
stephenl
Newbie
Posts: 40
Re: Saving passed value to variable
«
Reply #1 on:
December 31, 2024, 08:42:52 AM »
Solved
var name = $('#name').val();
Logged
jega
Full Member
Posts: 223
Re: Saving passed value to variable
«
Reply #2 on:
January 01, 2025, 03:12:58 PM »
Hi.
Happy New Year.
Just say it. Your question is fundamental javascript and is off topic in this forum. You can find javascript programming on thousands of other sites.
Everyone in this forum looks for Q and A about easyui for jquery/vue/angular/react. ;-)
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...