> That won't work. Try this test: > > alert( "" + null ); // "null" - but we wanted "" >
alert vs .val() are two different things.... case in point: http://jsbin.com/ahivu/edit there is no "null" put in that text box
> That won't work. Try this test: > > alert( "" + null ); // "null" - but we wanted "" >
alert vs .val() are two different things.... case in point: http://jsbin.com/ahivu/edit there is no "null" put in that text box