English 中文(简体)
如何将IE7+中的改动附在括号中
原标题:How to attach onchange in IE7+ to parent element

我有一个充满活力的形式,使用 Java本添加并删除行文。 该表从Safari、Catherine和Empa,美丽。 在独立实体中,我要说的是,它不是......。

<div id="container">
  <div class="row">
    <input name="name[]">
    <select name="color[]">
      <option>Red</option>
      <option>Green</option>
      <option>Blue</option>
    </select>
  </div>
  <div class="row">
    <input name="name[]">
    <select name="color[]">
      <option>Red</option>
      <option>Green</option>
      <option>Blue</option>
    </select>
  </div>

  <a id="add-another" href="#">Add a row</a>
</div>

<script src="prototype.js"></script>
<script>
  $("container").observe("change", function(ev) {
    alert("changed " + ev.element() + " to " + $F(ev.element()));
  });

  $$("#container input, #container select").each(function(el) {
    el.observe("change", function(ev) {
      alert("changed[2] " + ev.element() + " to " + $F(ev.element()));
    });
  });

  $("add-another").observe("click", function(ev) {
    var cloned = $("container").down(".rule").clone(true);
    $("container").insert({top:cloned});
    ev.stop();
  });
</script>

我看到的唯一改动信息是<编码> 交换<>>>。 我非常希望看到<条码>改动<>,因为这意味着我只有一个听众,而不是数百人。

是否有任何已知的工作领域,以便我能够在父母的休息点上安装一个观察员,并接受交换活动?

我读了。 关于改动的MSDN条款,我确实认为可以附上改动,但也许可以找到解决办法?

最佳回答

我感到有些惊讶的是,在Safari、FF、和Khate施工。 即便如此,我也永远不会想用一个精彩的阶层来做事,因为这不是一个形式。 书记。

除非它干扰其他东西,而且在独立实体为了改善人类而脱离世界之前,我认为一个可行的替代办法是,利用<条码>真正的Executor,或扩大<条码>Abstract. Timed Observer,以便每当一次检查一次包装,同时有可能同时检查浏览器是否为独立电子计算器。

问题回答

暂无回答




相关问题
selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

How to fire event handlers on the link using javascript

I would like to click a link in my page using javascript. I would like to Fire event handlers on the link without navigating. How can this be done? This has to work both in firefox and Internet ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Clipboard access using Javascript - sans Flash?

Is there a reliable way to access the client machine s clipboard using Javascript? I continue to run into permissions issues when attempting to do this. How does Google Docs do this? Do they use ...

javascript debugging question

I have a large javascript which I didn t write but I need to use it and I m slowely going trough it trying to figure out what does it do and how, I m using alert to print out what it does but now I ...

Parsing date like twitter

I ve made a little forum and I want parse the date on newest posts like twitter, you know "posted 40 minutes ago ","posted 1 hour ago"... What s the best way ? Thanx.

热门标签