cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

XUI empty textbox value

bbender
4-Participant

XUI empty textbox value

Hi all,


I have a textbox in a XUI. There are cases when the textbox entry should be empty. That textbox string or empty value is populated to an attribute in the document xml. When deleting a string in the box the value returned to the change event listener is the last stored value. It seems to not recognize when the last character or a full string is deleted from the box, which should have created an empty textbox/value essentialy. Any recommendations? I'm using JavaScript with the XUI. I claim to not be a XUI or interface expert.


Thank you,


Bryan

2 REPLIES 2

Hi Bryan-



What event are you listening for? You might need to try listening for a
different event type to catch the deletion of the last character.



--Clay



Clay Helberg

Senior Consultant

TerraXML


bbender
4-Participant
(To:bbender)

Yep, I needed to add an event listener forDOMNodeRemovedFromDocument.


Thanks!

Top Tags