English 中文(简体)
只有在某个因素得到偿还的情况下才能运作。
原标题:Running function only if a certain element isn t burring

在你点击时,提出案文投入的申请。 我遇到一个问题,即如果你会在实地点击另一个案文领域,但我可以确定这一点。 我有一个最后的重大问题,我可以解决。 我知道,现在可以把bl(bl)和焦点( focus)作为论点(尽管这是 n),但我需要找到一种方法,以便在你进入投入领域和点击之后,它只是混淆了投入箱,在用户再次点击之前不会再造。

问题回答

仅仅创造了一个变量,可以跟踪或只使用某种身份证明,供你提供的投入,然后在制作之前核对这一变量或投入。

if(!$("#myDynamicInputElement").length){
    //TODO: Create your element..
}




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

热门标签