English 中文(简体)
Jquery selectedor syntax
原标题:Jquery selector syntax

我在有些法典中穿过了这一辛子,在IEE8中打破了这一条,但在其他方面工作,却掩盖了它所做的一切。

$(this.handle()).find("[id]:visible:enabled");

I thought it might be looking searching all elements in the current page for ids and then searching the resultant elements for attributes "visible" and "enabled" but I don t think so now. The developer tool in IE8 does not show any results when I search for "visible" or "enabled"!

返回E8。

最佳回答

这套设备的确是有效的,而(这套设备)是杂货。 现有资金。 查询工作在 Chrome,而不是在E8上进行。 参看关于这些遴选者的文献:api.jquery.com/enabled-selector。 它像JQuery一样,在浏览器上工作的方式不同。 这个问题也许应该被提上去。

问题回答

该选择人应当找到所有有<条码>id的属性,即<条码>无障碍/条码>和<条码>的可使用。 从这一检验标准看,它似乎正在发挥作用。 在IE8和Khat测试。

它取决于它所处的环境。 什么是“这”的,它是否有一个称为“手法”的职能? 如果不是,那是失败的原因。

For this to work this.handle() would have to return something for jQuery to traverse, in which case it return all the elements Josiah Rudell already pointed out

http://api.jquery.com/visible-selector/ http://api.jquery.com/enabled-selector/





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

热门标签