首页 \ 问答 \ Javascript .onchange限制(Javascript .onchange limitations)

Javascript .onchange限制(Javascript .onchange limitations)

当我开始开发越来越多的复杂Javascript解决方案时,我想知道javascript给我什么样的选项来监控环境中的变化。 我已经看到很多解决方案,不断地ping任何他们想要监视的元素,但对于任何类型的资源繁重的应用程序(或任何情况取决于开发人员的标准)变得臃肿和过于hackish成为一个可行的方法。 这让我想到了“javascript的onchange事件有哪些限制?”。 具体来说,现在我正在尝试监控窗口的大小。 有没有办法利用.onchange事件来做这样的事情? 你怎么解决这个问题?

谢谢! 我很想知道每个人都要说些什么。


As I begin to develop more and more compliacted Javascript solutions, I wonder what sort of options javascript gives me to monitor changes in my environment. I've seen so many solutions that constantly ping whatever element they are wanting to monitor, but for any sort of resource heavy application (or for any case depending on the standards of the developer) that becomes bloated and too hackish to be a viable method. Which brings me to my question, "What are the limitations of javascript's onchange event?". Specifically, right now I'm trying to monitor the size of the window. Is there a way to utilize the .onchange event for things like this? How would you solve this?

Thanks! I'm very interested to hear what everyone has to say.


原文:https://stackoverflow.com/questions/671701
更新时间:2021-09-23 11:09

最满意答案

你不能得到他的更新 - 他们已经用他的PC *。

您可以使用VSS admin撤销他的结帐,以便您可以继续使用这些文件。

*除非你有备份。


You can't get his updates back - they have gone with his PC*.

You can use VSS admin to undo his checkouts so that you can carry on working with the files.

*Unless you have backups.

相关问答

更多
  • 为了从sln中删除源代码控制,您必须执行上述操作。 根据我的经验,其他一切都可能失败。 从所有文件夹中删除所有.vsscc , .vspscc和.scc文件。 ReadOnly false所有文件。 用编辑器打开sln并删除GlobalSection(SourceCodeControl) = preSolution Section。 用编辑器打开每个prj并删除所有以Scc开头的标签。 In order to remove source control from a sln you must do the ...
  • 你不能得到他的更新 - 他们已经用他的PC *。 您可以使用VSS admin撤销他的结帐,以便您可以继续使用这些文件。 *除非你有备份。 You can't get his updates back - they have gone with his PC*. You can use VSS admin to undo his checkouts so that you can carry on working with the files. *Unless you have backups.
  • 查看不同版本并使用第三方工具合并它们可能是值得的。 看看kdiff3( http://kdiff3.sourceforge.net/ ) - 它可以在Linux或Windows上运行,并且可以非常智能地合并到3个不同的版本。 这允许您将两个开发人员的更改与公共基本版本进行比较。 另一个有用的工具是kompare,它在突出两个文件之间非常具体的差异方面做了令人钦佩的工作。 祝你好运! It might be worthwhile to check out the different versions and ...
  • 从第一个VSS中删除解决方案中的绑定。 在VS2010中查看解决方案。 使用解决方案资源管理器确保选择解决方案文件“文件”>“源代码管理”>“更改源代码管理” 在对话框中取消绑定所有项目和解决方案,勾选所有项目,然后单击“断开连接” 在此之后,您当然可以将其检入另一个VSS数据库,您仍然需要从第一个VSS数据库中删除它,但我相信这是您真正要求的。 To remove the bindings in the solution from the first VSS. Checkout the solution ...
  • 使用 TortoiseMerge.exe %1 %2 代替。 TortoiseProc仅适用于svn工作副本。 Use TortoiseMerge.exe %1 %2 instead. TortoiseProc only works on svn working copies.
  • 工具 - >选项 - >源控制 - >插件选择。 选择Microsoft Visual SourceSafe Tools->Options->Source Control->Plug-in Selection. Select Microsoft Visual SourceSafe
  • 一旦我没有找到任何提供VSS工作任务的rake库,我就自己做了“get-from-vss”任务。 如果有人需要使用它,可以在我的Albacore库中找到它。 As soon as I didn't found any of rake libraries that provide tasks for work with VSS, I made "get-from-vss" task by myself. If somebody needs to use it, it could be found in my ...
  • AJ有正确的想法,但你只需要使用“dir”命令而不是获取: ss dir -v"LABEL" $\PROJECT -R 这将输出具有该标签版本的每个文件,格式为: someFile.c;23 someOtherFile.h;3 ; 对于那些感兴趣的人,如果你想快速告诉你文件的最新版本是什么,你可以做: ss dir -v. $\PROJECT -R 玩得开心! AJ had the right idea, but you just need to use the ...
  • 您可以对所有文件执行“撤消签出”,将其本地版本保留在您的计算机上; 然后再检查这些文件,而不从Visual SourceSafe获取最新版本; 然后检查所有这些。 在这种情况下,历史被保留。 您只需覆盖最新版本的文件而无需任何合并。 对我来说似乎是你想要的。 我有同样的问题,并以这种方式排序。 You could just do "Undo check out" for all files, keeping their local versions on your machine; then again c ...
  • 你不会破坏SourceSafe。 这是在您的情况下工作的绝佳方式 更新:忽略任何您不感兴趣的文件,例如scc文件。 您的存储库不需要重新创建整个项目,只需跟踪您更改的内容。 我对Mercurial和CVS做了同样的事情。 该公司使用CVS,我使用我随时检查的本地Mercurial存储库,并在我开心时登记到CVS。 [在旁边] 在个人层面上改变源控制系统很好,但对于团队来说往往会有问题。 人们习惯了源控件的工作方式,并利用它们的优势。 在没有完全购买的情况下更换系统,他们可能需要很长时间才能感受到优势超过他们 ...

相关文章

更多

最新问答

更多
  • 获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
  • 如何通过引用返回对象?(How is returning an object by reference possible?)
  • 矩阵如何存储在内存中?(How are matrices stored in memory?)
  • 每个请求的Java新会话?(Java New Session For Each Request?)
  • css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
  • 无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
  • xcode语法颜色编码解释?(xcode syntax color coding explained?)
  • 在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
  • 从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
  • 从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
  • 西安哪有PLC可控制编程的培训
  • 在Entity Framework中选择基类(Select base class in Entity Framework)
  • 在Android中出现错误“数据集和渲染器应该不为null,并且应该具有相同数量的系列”(Error “Dataset and renderer should be not null and should have the same number of series” in Android)
  • 电脑二级VF有什么用
  • Datamapper Ruby如何添加Hook方法(Datamapper Ruby How to add Hook Method)
  • 金华英语角.
  • 手机软件如何制作
  • 用于Android webview中图像保存的上下文菜单(Context Menu for Image Saving in an Android webview)
  • 注意:未定义的偏移量:PHP(Notice: Undefined offset: PHP)
  • 如何读R中的大数据集[复制](How to read large dataset in R [duplicate])
  • Unity 5 Heighmap与地形宽度/地形长度的分辨率关系?(Unity 5 Heighmap Resolution relationship to terrain width / terrain length?)
  • 如何通知PipedOutputStream线程写入最后一个字节的PipedInputStream线程?(How to notify PipedInputStream thread that PipedOutputStream thread has written last byte?)
  • python的访问器方法有哪些
  • DeviceNetworkInformation:哪个是哪个?(DeviceNetworkInformation: Which is which?)
  • 在Ruby中对组合进行排序(Sorting a combination in Ruby)
  • 网站开发的流程?
  • 使用Zend Framework 2中的JOIN sql检索数据(Retrieve data using JOIN sql in Zend Framework 2)
  • 条带格式类型格式模式编号无法正常工作(Stripes format type format pattern number not working properly)
  • 透明度错误IE11(Transparency bug IE11)
  • linux的基本操作命令。。。