26
Views
3
Comments
Solved
Not able to set Value through JS in textbox, what could be right way ?

Hello everyone,

 I am using onblur event in textbox after setting some initial value, again I want to modify and assign some value in same textbox.  Value, which I am assigning through Javaacript2 is not getting assigned. This is not write way though but how can we do it ? 

Please find attached oml file

TestApp.oml
2023-10-27 12-06-14
Asiyah Munawwar
Solution

@Gaurav Jain 

You were passing 35639845793845 this value in JS.I changed that value to string i.e. "35639845793845".

Now its working.

2023-10-27 12-06-14
Asiyah Munawwar

Hello Gaurav Jain,

Did some changes in your OML. Now its working.

Thanks

TestAppUpdated.oml
UserImage.jpg
Gaurav Jain

@Asiyah Munawwar : I cant see your changes in your file what changes exactly you made ?

2023-10-27 12-06-14
Asiyah Munawwar
Solution

@Gaurav Jain 

You were passing 35639845793845 this value in JS.I changed that value to string i.e. "35639845793845".

Now its working.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.