Hi,
Can you tell me how to get the id of a dynamically created control in jquery
I am creating a RadDatePicker dynamically in C# like:
RadDatePicker rd = new RadDatePicker();
rd.ID = "rd_"+ "i_"+ count;
rd.ClientEvents.OnDateSelected = "dateSelected";
where i and count are some dynamically generated variables.
Now inside javascript func:
function dateSelected(sender, args)
{
// get the id of the sender(date picker) control;
}
Can you tell me how to get the id of a dynamically created control in jquery
I am creating a RadDatePicker dynamically in C# like:
RadDatePicker rd = new RadDatePicker();
rd.ID = "rd_"+ "i_"+ count;
rd.ClientEvents.OnDateSelected = "dateSelected";
where i and count are some dynamically generated variables.
Now inside javascript func:
function dateSelected(sender, args)
{
// get the id of the sender(date picker) control;
}