lostfocus event of a text box in an asp.net repeater


Hi,

I have an asp.net text box and a label control that are within a asp.net repeater.  When the text box loses focus I need to set that text into the label.  Can somebody help me with the javascript to accomplish this client side.  

-Jon


jongrossexAsked:
Who is Participating?
 
jello024Commented:
Try this:

document.getElementById('textBoxId').onblur =
function(){ document.getElementById('lableId').innerHTML = this.value; }
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.