I have this control in my page:
<telerik:RadTextBox ID="txtTitleMyLink" Runat="server"></telerik:RadTextBox>
This is how it looks when it's rendered:
<input name="ctl00$MainContent$popupAddMyLink$C$txtTitleMyLink" class="riTextBox riEnabled" id="ctl00_MainContent_popupAddMyLink_C_txtTitleMyLink" value="">
I want to get what user types after the page is loaded. I call the line below from a button. It works but I don't want to use it since it could be change based on the containers:
$("#ctl00_MainContent_popupAddMyLink_C_txtTitleMyLink").val();
How can I accomplish getting the value based on a string? These ones are not working:
$("[id*=txtTitleMyLink]").val();
$("[id*='txtTitleMyLink']").val();
$("[id*='txtTitleMyLink']").text();
$("[id*='txtTitleMyLink']").attr('value');
$('#txtTitleMyLink').val();
$('#txtTitleMyLink').text();