English 中文(简体)
我如何在“家庭倡议”中增加一个版本。
原标题:How do I add a version number to a jQuery UI Widget

我已经创建了一个新的“Query UI Widget”,希望增加一个版本,以便如果我对“APIC”未来的改变,用户能够根据所描述的植被版本作出适当的反应。 在核心植被中,开发商使用的是$.extend(),以添加公共版本变量:

$.extend($.ui.dialog, {
    version: "1.8.11",
    ...
});

是否用这一适当方法在我自己的植被上添加一个版本的识别标志,或者我是否应当把变数作为原始植被定义的一部分?

问题回答

如何使用<条码>美元?

我认为,你最好使用诸如<代码>window.myvar={dielog:1.0 ,......}等一些手法做: • most你获得直言语的专用版本...... 但希望能解决你的问题。





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

热门标签