title: Jquery doesn't find element in selenium
body: <pre><code> sel.add_script( sel.get_location(), "jquery.js")
  
   #here I get  u'fd6c42bcc770ca9decc4f358df3688290a4257ad'`  
         idOfResultWithSomeImage=sel.get_eval("window.jQuery('#result').find('img').filter('[alt=SeleImage]').eq(0).parents('form:first').find('a').eq(1).attr('id')")`
  
      #here I get u"window.jQuery('#fd6c42bcc770ca9decc4f358df3688290a4257ad').parent().find('button')"
          pathOfButton="window.jQuery('#" + idOfResultWithSomeImage+ "').parent().find('button')"
  
          #here I get false :/ 
          isButtonPreset = sel.is_element_present(pathOfButton)
          #so here I get error. Element not present.
          sel.click(pathOfButton)
  </code></pre>
  
  <p>When I check this in firebug's console it find me this button.</p>
  
  <p>I'm using </p>
  
  <pre><code># -*- coding: utf-8 -*-
  </code></pre>
  
  <p>and I'm coding in WingIde.</p>
  
  <p>Have you idea why is that?</p>
  
  <p><strong>EDIT</strong></p>
  
  <pre><code>#from here I get 08f0ddbfa71df43bee87d9becdec5ced4ead3419
  idOfResultWithRyanairFlight=sel.get_eval("window.jQuery('#result').find('img').filter('[alt=Ryanair]').eq(0).parents('form:first').find('a').eq(1).attr('id')")
  </code></pre>
  
  <p>I check in debug mode and :</p>
  
  <pre><code>#it returns true
  sel.is_element_present("css=#08f0ddbfa71df43bee87d9becdec5ced4ead3419")
  #it returns false
  sel.is_element_present("window.jQuery('#08f0ddbfa71df43bee87d9becdec5ced4ead3419')")
  #it return false
  sel.is_element_present("window.jQuery(#08f0ddbfa71df43bee87d9becdec5ced4ead3419)")
  </code></pre>
  
  <p>I put this queries in firebug console and first and second work.</p>
  
  <p>EDIT</p>
  
  <p>What is interesting, I wrote the same script in c# and I have the same problem. </p>
  
  <pre><code> var dOfA = selenium.GetEval("window.jQuery('#result').find('img').filter('[alt=SomeIMG]').eq(0).parents('form:first').find('a').eq(1).attr('id')");
  
  
              var a=selenium.IsElementPresent("window.jQuery('#" + dOfA + "').parent().find('button')");
              var b = selenium.IsElementPresent("$('#" + dOfA + "')");
              var c = selenium.IsElementPresent("jQuery('#" + dOfA + "')");
              var d = selenium.IsElementPresent("css=#" + dOfA);
              var e = selenium.GetEval("window.jQuery('#" + dOfA + "')");
  </code></pre>
  
  <p>Only d is true. </p>