Web user behavior: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
Line 10: Line 10:
** jQuery: [http://api.jquery.com/jQuery.trim/ $.trim('string')]
** jQuery: [http://api.jquery.com/jQuery.trim/ $.trim('string')]
* 包含特殊符號 ex: 單引號 ', 雙引號 ", 反斜線 \, 大於小於符號 > < <== 對策: [http://www.php.net/manual/en/function.htmlentities.php PHP: htmlentities - Manual] {{kbd | key=<nowiki>echo htmlentities($str, ENT_QUOTES, "UTF-8");</nowiki>}}
* 包含特殊符號 ex: 單引號 ', 雙引號 ", 反斜線 \, 大於小於符號 > < <== 對策: [http://www.php.net/manual/en/function.htmlentities.php PHP: htmlentities - Manual] {{kbd | key=<nowiki>echo htmlentities($str, ENT_QUOTES, "UTF-8");</nowiki>}}
* 超出預期的內容長度、超出預期的資料數量
* 超出預期的內容長度、內容長度超出預期的版面長度、超出預期的資料數量
* 資料數量從少量變成多量時
* 資料數量從少量變成多量時
* 重複的內容 ex: Excel 欄位重複
* 重複的內容 ex: Excel 欄位重複

Navigation menu