Codice PHP:
$(function(){
alert($('input[@name=nick]').val());
});