I have to find an element by its id with jQuery. This element has the id:
txtHistoricalPricesDate
which would be easy to find under normal circumstances with the following:
var element = $('#txtHistoricalPricesDate');
but unfortunately, I'm working in an ASP.NET app, which helpfully renamed the element to:
ctl00_ContentPlaceHolder1_ucFundSearchResultsPanel_tabContainer_tabPriceTab_txtHistoricalPricesDate
rather than dirty the jQuery with that huge ridiculous ID, is there a way that I can tell jQuery to find the element with an ID that ends with txtHistoricalPricesDate?