UWInfo Blog
發表新文章
[Join] | [忘記密碼] | [Login]
搜尋

搜尋意見
文章分類-Reiko
[所有文章分類]
  • ASP.NET (7)
  • ASP.NET2.0 (1)
  • ASP.NET4.0 (6)
  • JavaScript (5)
  • jQuery (3)
  • FireFox (1)
  • UW系統設定 (1)
  • SQL (11)
  • SQL 2008 (12)
  • mirror (4)
  • SVN (0)
  • IE (2)
  • IIS (5)
  • IIS6 (1)
  • 閒聊 (0)
  • W3C (0)
  • 作業系統 (1)
  • C# (3)
  • CSS (0)
  • FileServer (0)
  • HTML 5 (0)
  • CKEditor (1)
  • UW.dll (0)
  • Visual Studio (3)
  • Browser (1)
  • SEO (0)
  • Google Apps (1)
  • 網站輔助系統 (0)
  • DNS (5)
  • SMTP (0)
  • 網管 (0)
  • 社群API (0)
  • SSL (3)
  • App_Inventor (0)
  • URLRewrite (1)
  • 開發工具 (1)
  • JSON (1)
  • Excel2007 (0)
  • 試題 (0)
  • LINQ (1)
  • bootstrap (0)
  • Vue (0)
  • IIS7 (0)
  • foodpanda (0)
  • 編碼 (0)
  • 資安 (0)
  • Sourcetree (0)
  • MAUI (0)
  • CMD (0)
  • my sql (0)
所有文章分類
[Reiko的分類]
  • ASP.NET (48)
  • ASP.NET2.0 (15)
  • ASP.NET4.0 (34)
  • JavaScript (49)
  • jQuery (26)
  • FireFox (4)
  • UW系統設定 (3)
  • SQL (39)
  • SQL 2008 (25)
  • mirror (4)
  • SVN (4)
  • IE (9)
  • IIS (20)
  • IIS6 (1)
  • 閒聊 (7)
  • W3C (6)
  • 作業系統 (9)
  • C# (24)
  • CSS (12)
  • FileServer (1)
  • HTML 5 (11)
  • CKEditor (3)
  • UW.dll (13)
  • Visual Studio (16)
  • Browser (8)
  • SEO (1)
  • Google Apps (3)
  • 網站輔助系統 (4)
  • DNS (5)
  • SMTP (4)
  • 網管 (11)
  • 社群API (3)
  • SSL (4)
  • App_Inventor (1)
  • URLRewrite (2)
  • 開發工具 (6)
  • JSON (1)
  • Excel2007 (1)
  • 試題 (3)
  • LINQ (1)
  • bootstrap (0)
  • Vue (3)
  • IIS7 (3)
  • foodpanda (2)
  • 編碼 (2)
  • 資安 (3)
  • Sourcetree (1)
  • MAUI (1)
  • CMD (1)
  • my sql (1)
最新回應
  • dotnet ef dbcontext scaffold
    ...more
  • 線上客服 - MSN
    本人信箱被盜用以致資料外洩,是否可以請貴平台予以協助刪除該信箱之使用謝謝囉...more
  • 插入文字到游標或選取處
    aaaaa...more
  • dotnet ef dbcontext scaffold
    更新到最新版的 dotnet-ef tooldotnet tool update --global ...more
  • dotnet ef dbcontext scaffold
    還需要這個:Microsoft.EntityFrameworkCore.Design...more
  • dotnet ef dbcontext scaffold
    指定版本:dotnet add package Microsoft.EntityFrameworkC...more
  • SQL 2008 Mirror Setting
    有設定見證伺服器但在Principal掛掉卻不會自動轉到Mirror資料庫在DBC加上: Failo...more
  • SQL 2008 Mirror Setting
    最近更換機房後201重啟很久,造成有設定Mirror的資料庫一直處於復原中狀態,網站無法正常運作(可...more
  • Send Mail By gmail SMTP
    出現錯誤訊息:System.Net.Mail.SmtpException: SMTP 伺服器需要安全...more
  • [SQL]將多筆資料合併為一筆顯示(FOR XML PATH)
    實測發現長度只能到 2034 個字元所以太長的話會被截斷...more
標籤
  • 版本
  • 超出最大長度
  • 網址
  • 對應
  • 檔案
  • 字串
  • 日期
  • 時間
  • 整數
  • exception,
  • postgre
  • cloud
  • add a MIME
  • CS21211211
  • 老試
  • 簡體
  • ORM
  • InvalidOpe
  • sql man
  • 2909
  • -1068
  • 444
  • 12 ORDER B
  • captcha
  • 刪除
  • 1222121121
  • clipboard
  • 圖片
  • contains
  • GmnMRV2s
  • console
  • q8VQO2HG
  • config
  • UNT[t]
  • SqlDepend
  • unt2121121
  • cheap
  • 縮圖
  • 472
  • cookie
  • html
  • EYRuPBqg
  • cacha
  • ie
  • lock212112
  • client
  • i1wkRTnK
  • csv
  • chrome
  • canvas
搜尋 結果:
C# 下拉選單AutoPostBack後Button點擊沒反應
改用javascript送出
<asp:Button ID="BtnSubmit" runat="server" Text="修改" OnClick="BtnSubmit_Click" OnClientClick="return formSubmit('true');" />


<script type="text/javascript">
                function formSubmit(val) {
                    if (val== "true")
                    {
                        form1.submit();
                    } else {
                        return false;
                    }
                }
            </script>


相關專案: 光寶
More...
Reiko, 2015/6/29 下午 03:49:57
Name Contains

<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-latest.js"></script>
</head>
<body>
<input name="man-news" />

<input name="milkman" />
<input name="letterman2" />
<input name="newmilk" />
<script>$('input[name*="man"]').val('has man in it!');</script>

</body>
</html>

More...
Reiko, 2012/4/13 下午 07:31:28
用 JavaScript 複製網頁上的圖片到剪貼簿
資料來源:http://sanchen.blogspot.com/2008/07/javascript.html

在 IE 中很簡單就能辦到, 至於其他的瀏覽器......目前還沒這個需求, 先擱著~~~~~

var img = document.getElementsByTagName("IMG")[0];
var rng = document.body.createControlRange();
rng.add(img);
rng.execCommand('Copy');
真是簡單到不行! 可以看出 Microsoft 當初那群規劃設計 IE 的人實在是太厲害了!!
More...
Reiko, 2012/3/30 下午 05:33:01
插入文字到游標或選取處

<textarea id="myTextArea" style="WIDTH: 376px; HEIGHT: 160px" rows="10" cols="44"></textarea>
<input type="button" value="插入測試" onclick="InsertContent('myTextArea','我是要插入的文字');">

function InsertContent(AreaID,Content){
   var myArea = document.getElementById(AreaID);
   //IE
   if (document.selection){
      myArea.focus();
      var mySelection =document.selection.createRange();
      mySelection.text = Content;
   }else{
   //FireFox
     var myPrefix = myArea.value.substring(0, myArea.selectionStart);
     var mySuffix = myArea.value.substring(myArea.selectionEnd);
     myArea.value = myPrefix + Content + mySuffix;
   }
}

More...
Reiko, 2012/3/29 下午 07:30:01
JavaScript中replace只置換第一個符合的字串問題

資料來源:http://www.dotblogs.com.tw/topcat/archive/2008/07/07/4449.aspx

在要置換的字串前方,加上\,ex:
var s=s.replace(/\你要置換的字串/g,'AA');


/.../g同前後引號的用法。
More...
Reiko, 2012/3/29 下午 05:06:59
~ Uwinfo ~