I've got a page that on `$(document).ready`, calls a javascript function that creates some input controls dynamically based on context of page request via a ajax call to the server.

I need to set one of the dynamically created controls (input checkbox) to be checked by default.

I've tried setting it via `$(#id).prop('checked', true);` after the call to the server but it does not work. My guess is that the field does not exist yet...

How can I modify a html control dynamically created from an ajax call?