document.lastModified 網頁最後修改的時間document.write輸出“的時候使用\轉義符號。一些舊的瀏覽器不能瀏覽javascript不能演繹js或者js功能關閉了,或者js寫錯了,為了使js的文字在一些情況下不再網頁中出現,我們可以將js放在<!—及//à之內,例如:<script language="JavaScript"> <!-- to hide the script that cannot
ie6之前的版本,視窗的可視大小body元素的大小。html標記是隱藏的。而對於現代瀏覽器,視窗的可視大小是html元素的大小。html、body元素對應到javascript中分別為document.documentElement、document.body. 因此ie6以後的版本,ff,safari的可視寬度和高度為: Code highlighting produced by Actipro CodeHighlighter
前面介紹了shape API,接下來介紹 dBF APIDBFOpen()DBFHandle DBFOpen( const char * pszDBFFile, const char * pszAccess ); pszDBFFile:The name of the xBase (.dbf) file to access. pszAccess:The fopen() style access string. At this time only"rb" (read-only binary)
點開treeview的一個節點,其他節點都收縮 <script language="javascript"> function initTree() { var tree = document.all["tr1"]; tree.attachEvent("onexpand", SelectedIndexChange); //追加個事件 } function SelectedIndexC
string 1 string.length;2 get the last character of a string last_char = s.charAt(s.length-1);3 to extract the second,third,fourth characters from a string a:sub = s.substring(1,4);4 to find the position of the first letter 'a' in a stringi =
最近忙的一塌糊塗,都沒有時間更新部落格了.昨天和同事討論了一下前一端時間使用儲存分頁出現的一點問題,當預存程序的排序和表的主鍵不一致的時候,翻頁到十多頁的時候就會出現部分重新整理或者不重新整理的問題.其實這個問題也很好解決:order by xx,id 也就是如果xx有重複,只要後面加上ID就行了. 補充: 剛學到的一點知識,記下來. 關於instead of delete(insert,update)