JavaScript: div,textarea set or get value
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | <! doctype html> < html > < head > < meta charset="utf-8"> < meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no"> < meta http-equiv="X-UA-Compatible" content="ie=edge"> < title >div,input, set,get value </ title > < meta name="Description" content="geovindu"/> < meta name="Keywords" content="geovindu"/> < meta name="author" content="geovindu"/> < script src="ajax/libs/modernizr/2.8.3/modernizr.min.js" type="text/javascript"></ script > < script src="bootstrap/4.6.2/js/bootstrap.min.js" type="text/javascript"></ script > < link rel="stylesheet" href="bootstrap/4.6.2/css/bootstrap.min.css"> < script src="js/jquery-3.6.0.js"></ script > < script type="text/javascript" src="assets/js/DuSize.js"></ script > < link rel="stylesheet" href="css/main.css"> </ head > < body > < textarea id="txtMessage" class="txtMessage" name="txtMessage" ></ textarea > < div class="emojionearea-editor" contenteditable="true" placeholder="" tabindex="0" dir="ltr" spellcheck="false" autocomplete="off" autocorrect="off" autocapitalize="off">geovindu,涂聚文</ div > < div class="input-group" style="float: right;"> < input class="form-control" style="visibility: hidden;" /> < span class="input-group-btn"> < input type="button" class="btn btn-primary btn-flat" id="btnSendMsg" value="send" /> </ span > </ div > < script type="text/javascript"> const textarea = document.getElementById('txtMessage'); var geovinduhtml = $('.emojionearea-editor').html(); $(function () { $('#btnSendMsg').click(function () { var msg=$("#txtMessage").val(); alert(msg); console.log("MSG:"+textarea.value); console.log("MSG:"+msg) console.log("div:"+geovinduhtml) textarea.value = ""; $("#txtMessage").val(""); $(".emojionearea-editor").html(""); console.log("msg:"+textarea.value) }); }); </ script > </ body > </ html > |
Microsoft.Web.Services3
Web Services Enhancements (WSE) 3.0 for Microsoft .NET
https://www.microsoft.com/en-us/download/details.aspx?id=14089
https://www.nuget.org/packages/Microsoft.Web.Services3
Web Services Enhancements (WSE) 2.0 SP3 for Microsoft .NE
https://www.microsoft.com/en-us/download/details.aspx?id=23689
https://www.nuget.org/packages/Microsoft.Web.Services2
哲学管理(学)人生, 文学艺术生活, 自动(计算机学)物理(学)工作, 生物(学)化学逆境, 历史(学)测绘(学)时间, 经济(学)数学金钱(理财), 心理(学)医学情绪, 诗词美容情感, 美学建筑(学)家园, 解构建构(分析)整合学习, 智商情商(IQ、EQ)运筹(学)生存.---Geovin Du(涂聚文)
分类:
Ajax&JavaScript
标签:
jQuery
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 25岁的心里话
· 闲置电脑爆改个人服务器(超详细) #公网映射 #Vmware虚拟网络编辑器
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· 零经验选手,Compose 一天开发一款小游戏!
· 一起来玩mcp_server_sqlite,让AI帮你做增删改查!!
2015-01-24 sql server or Oracle: table MS_Description