English 中文(简体)
我究竟是怎么做错呢?
原标题:What am I doing wrong with dragstop?

我想作一个内容,虽然拖拉显示的是透明的纽顿,但退约应当把一个新的纽子放在点子的位置上。

Here s my code.

问题在于我可以创造另一个纽州。 另外,<代码>alert(“试验”)未执行。 我不知道什么错误。

最佳回答

I m getting the error:

Uncaught TypeError: Cannot call method  appendTo  of null

in Chrome. This is why alert( test ); isn t being executed.

页: 1 访问j 登上右星号

这部法典似乎正在做你想要的(我得到“抗议”的警示,我可以制造多个县):

$( <button id="demo" class="default-button">Text</button> ).css({left: x + "px", top: y + "px"}).appendTo( body );

[编辑] 为进一步阐明和教授,.css ( with one para amount ( that isn t an Object) Return the CSS, i.e. $( #id ).css ( Superior ) Return the Value of Superior in CSS. 如果它带有像我的解决方案或两个辅助器一样的物体图,那么它就会确定这些数值,并将标本归为方法链条。

因此,你正在犯错误。 该公司将CSS的“10px;上层:10px;”或“任何东西”价值退回,你正在试图通过该指示填写<>ppendTo(,从而产生错误。

问题回答

暂无回答




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

热门标签