English 中文(简体)
在删除后保留提及要素并随后重新插入
原标题:Preserve reference to element after deletion and subsequent re-insertion
  • 时间:2010-07-30 16:21:44
  •  标签:
  • jquery

文件内。 准备好的,我储存着一个变数的挑选人(我一度评估后,就把这个要素放在上述变量中),因为我需要多次加以操纵。

页: 1 myVar = (#mySpan );

我的储存是一种四分五裂的跨度元素。 一种操纵要求我利用.html()的功能,超越四舍五入的内容。

之后,我需要在上文提及的四部分内重新加入这一跨段内容,并利用html的功能。

我的问题是,一旦跨度因素重新增加,变式的神秘感就不再与跨度要素挂钩。 我的假设是,它从OMD中删除,然后是再添加。

我知道,酒类具有.的作用,但这似乎只保留附带的事件和数据内容,而不是实际参考资料。 即便是这样,我也不能帮助。

最佳回答
问题回答




相关问题
getGridParam is not a function

The HTML: <a href="javascript:void(0)" id="m1">Get Selected id s</a> The Function: jQuery("#m1").click( function() { var s; s = jQuery("#list4").getGridParam( selarrrow )...

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.

jQuery cycle page with links

I am using the cycle plugin with pager functionality like this : $j( #homebox ) .cycle({ fx: fade , speed: fast , timeout: 9000, pager: #home-thumbs , ...

jquery ui dialog opens only once

I have a button that opens a dialog when clicked. The dialog displays a div that was hidden After I close the dialog by clicking the X icon, the dialog can t be opened again.

jConfirm with this existing code

I need help to use jConfirm with this existing code (php & Jquery & jAlert). function logout() { if (confirm("Do you really want to logout?")) window.location.href = "logout.php"; } ...

Wrap text after particular symbol with jQuery

What I m trying to do, is wrap text into div inside ll tag. It wouldn t be a problem, but I need to wrap text that appears particularly after "-" (minus) including "minus" itself. This is my html: &...