on 04-07-2016 7:40 AM
I have made an application and in that there is a combobox which has 2items year2014 and year2015 . Now according to the year selected data would be displayed . And on the change event of the combobox I have called a function . Just an alert is kept inside that function .
Now when i change the value of combobox the change event should be fired and immediately the alert should appear . But it takes nearly 60 seconds to display that alert which is there in that function . Can anyone guide me why is this happenenig ? And how to reduce time ?
Have a look at this example on how to implement the onChange function:
JS Bin - Collaborative JavaScript Debugging
If you are doing the same, the problem must be in any other part of your code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Manali,
Can you try using selectionChange event instead of change?
API: JsDoc Report - SAP UI development Toolkit for HTML5 - API Reference - sap.m.ComboBox
Regards,
Sai Vellanki.
issue is somewhere else its working fine for me
Manali,
Can you share the code as well?
Regards,
Sai Vellanki.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.