if($.trim($('#question{QID} input:text:eq(0)').val()) == '') {
if($.trim($(str.replace('#question{QID} input:text:eq(0)')).val()) == '') {
replace
trim
newstring = oldstring.replace(/' '/g, '');
oldstring.replace(" ", "");
if (!(/[^\s]/).test($('#question{QID} input:text:eq(0)').val())) { // The value only contains whitespace. }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)