EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
November 04, 2025, 04:52:24 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
>
Problem with form onchange
Pages: [
1
]
« previous
next »
Print
Author
Topic: Problem with form onchange (Read 6925 times)
patana
Jr. Member
Posts: 50
Problem with form onchange
«
on:
May 09, 2016, 08:12:16 PM »
In my form i have a few fields included one field to store number with easyui-numberbox.
I have datagrid to view, add and edit data.
So the problem is when i try to edit data by double click on row or click edit button, it fire the onchange form.
Actually, to show data on form, i use $('#fm').form('load', row)
I use console.log(target), and see only easyui-numberbox field recorded.
Logged
jarry
Administrator
Hero Member
Posts: 2300
Re: Problem with form onchange
«
Reply #1 on:
May 10, 2016, 05:23:34 PM »
The 'load' method use the native 'val()' to set the non-textbox fields. This does not trigger the 'onchange' event. Please use the 'textbox' field instead.
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...