I have a textbox whixh is defined like below.
And when i want to set it's value by using jquery. See the following code line.
The value is correctly set in the textbox. But when i enter the textbox to change the value. The whole value disappears.
Can someone please tell me if it's possible what i want. Because i don't want to work with client id's.
<
telerik:RadTextBox
ID
=
"rtbUserName"
runat
=
"server"
Width
=
"98%"
ShouldResetWidthInPixels
=
"false"
>
</
telerik:RadTextBox
>
And when i want to set it's value by using jquery. See the following code line.
$(
'input[id$=rtbUserName_text]'
).val(
"Test"
);
The value is correctly set in the textbox. But when i enter the textbox to change the value. The whole value disappears.
Can someone please tell me if it's possible what i want. Because i don't want to work with client id's.