Hello, I have a question for all you ASP.NET professionals out there: I am working on a project where I have multiple dynamically generated textboxes in a row. Within the same row, there is also an image that has an onclick event handler. My goal is to establish a relationship between the textbox and the image so that when I click on the image and choose a value, the corresponding textbox will be filled. The IDs of my current controls are as follows: Image:
ct100_cph_Detail_rpFields_ct109_rpCell_ct100_cbf_bed1_item_sym
Textbox
ct100_cph_Detail_rpFields_ct109_rpCell_ct100_tb_bed1
I am looking for a solution using JavaScript since I am not very familiar with ASP.NET. Any help would be greatly appreciated! :-)