deleting directory jquerymobile, add message error to no sql and input empty