Sintax for the selector is:

$('img[style="overflow: auto; width: 356px; height: 100px;"]')

Maurício
  -----Mensagem Original----- 
  De: John 
  Para: jQuery (English) 
  Enviada em: terça-feira, 25 de agosto de 2009 14:36
  Assunto: [jQuery] jQuery selector for style attribute



  Hi,

  I want to select the following image using jQuery selector to see if I
  could use the style attribute,

  <img id="ext-gen439" class="x-form-trigger x-form-arrow-trigger"
  style="overflow: auto; width: 356px; height: 100px;" src="images/
  s.gif"/>

  but seems the selector

  img[style=overflow: auto; width: 356px; height: 100px;]

  does not work at all. What would be the correct selector for the style
  attribute?

  Thanks in advance,

  John

Reply via email to