English 中文(简体)
含有“tom化”的衣物
原标题:Clone a div that contains "customized" jQueryUI datePicker

我有一个包含3个领域的小区。

You can see the image here
http://imgur.com/A3tbd.jpg

I m cloning this div with this plugin
http://sroucheray.org/blog/demos/jquery-dynamic-form/

我的问题是:

  • It doesn t clone correctly datePicker.
  • I m using validate form plugin, but I guess this plugin is not prepared to validate cloned elements

我是否应当利用任何容易的守则、其他假想或某些功能来完成这一顺序?

  • Verify user has filled the 3 fields of the actual div
  • If so, clone the div and create a new set of 3 fields. Also, clone datePicker correctly
  • If user clicks the delete button, erase last div (last 3 fields)
  • When form submitted, post all fields correctly

感谢

最佳回答

我所面对的问题就好像是白天和克隆。 我的解决办法是在克隆元素之前删除日期。 然后,在用克隆技术复制后,开始用克隆技术开标。

问题回答

暂无回答




相关问题
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: &...

热门标签