$("input[name*='
directory ']").click(function () {
if ($("#main ").is(":checked")) {
$("#main ").css({ display: "", float: "right" });
}
if ($("#custom ").is(":checked")) {
$("#custom ").css({ display: "", float: "right" });
}
initially you have to hide this textbox
<input type="text" style="
display:none " />
you have any query let me know
Thanks