Creating input when checking/clicking radio button
There's no need to use a while loop, as you only want to add the element once, after which the condition won't hold anymore. That's what if is for.
There's a shorter way to create a new element


So I get to:

$(function() {
    $("#others").click(function() {
         if ($("#others").val() == "Notice") {
            var newElement = $('&lt;input&gt;')).attr({name:"noticeweeks", id:"noticeweeks"});   
            newElement.appendTo("#inputplace");    
            $("#others").val("Notice me in...");
        }
    });
});