EasyUI Forum
October 18, 2025, 02:48:47 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Strange problem  (Read 5727 times)
yamilbracho
Jr. Member
**
Posts: 64


View Profile Email
« on: August 30, 2015, 05:38:09 PM »

I am facing a strange problem.
I have an app when some CRUD screens. Those screens have a Datagrid and use a button in the toolbar
to add, edit or delete rows.
To be most specific, I have two screens to update two kinds of users. Those screens share
some common fields(email, Lastname, FirstName, document Id and so on). Screen 1 is for doctors and
Screen 2 is for patients.

When I select screen 1, entered to edit a row, all the information is shown in the dialog and then if after
selects Screen2 and edits a row, some fields are shown empty but this does not happen if I select Screen 2
first, the problem comes when select Screen 1 after that...
But this only happen when fields in the two screens share the same name (and same id too)
It looks like the field is already created in DOM and javascript (or me, for sure) got confused...

Is there a way to "kill" a page from DOM or reload it everytime...

TIA,
Yamil
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!