EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
September 14, 2025, 02:19:37 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
>
Passing Value From Dropbox 2
Pages: [
1
]
« previous
next »
Print
Author
Topic: Passing Value From Dropbox 2 (Read 4329 times)
Steve2106
Newbie
Posts: 20
Passing Value From Dropbox 2
«
on:
June 08, 2020, 01:16:48 PM »
I think that narrowing it down what I need is to get the value from the dropbox and send it to the call of the .php file.
This is the form with the dropbox which is filling with records fine.:
<div id="dlg" class="easyui-dialog" style="width:450px;height:250px;padding:10px 20px"
closed="true" buttons="#dlg-buttons">
<div class="ftitle">Assign medic to practiotioner</div>
<form id="fm" method="post" novalidate>
<div class="fitem">
<input class="easyui-combobox" id="dd_medicid" name="dd_medicid" style="width:350px; margin-bottom:20px" limitToList: true; data-options="
url:'./getmedicnames.php',
method:'get',
valueField:'medicid',
textField:'certname',
panelHeight:400,
label: 'Medic Name:',
labelPosition: 'top'
">
</div>
</form>
</div>
<div id="dlg-buttons">
<a href="javascript:void(0)" class="easyui-linkbutton c6" iconCls="icon-ok" onclick="editUser()" style="width:90px">Save</a>
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-cancel" onclick="javascript:$('#dlg').dialog('close')" style="width:90px">Cancel</a>
This is the editcode that is called.
function editUser(){
$('#dlg').dialog('open').dialog('setTitle','New Assignment');
$('#fm').form('clear');
url = './AssignMedictoPractitioner.php?medicid='+dd_medicid.valueField;
$('#dg').datagrid('reload'); // reload the current page data
}
Thanks for your help.
Steve.
«
Last Edit: June 08, 2020, 01:27:07 PM by Steve2106
»
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...