Note that there are some explanatory texts on larger screens.

plurals
  1. POjQuery - Does not work in Facebook iFrame
    primarykey
    data
    text
    <p>I developed a landing page in facebook and use jQuery to show and hide certain text fields. Now this works great in Firefox, but not in IE 9. I have no idea how this can happen. I have an index.php and there I say </p> <pre><code>&lt;script type="text/javascript" src="jquery-1.7.1.min.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="jquery.overlabel.js"&gt;&lt;/script&gt; &lt;script type="text/javascript"&gt; $(document).ready(function() { $("label.overlabel1").overlabel(); $("label.overlabel2").overlabel(); $("label.overlabel3").overlabel(); $("input").show(); }); &lt;/script&gt; </code></pre> <p>As I said, it works in Firefox, but not in IE.</p> <p>I'd be happy for every help.</p> <p>Thanks in advance,</p> <p>enne</p> <p>EDIT: Here is some code that works in Firefox but not in IE. It just puts the word "hello" in the input field:</p> <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;head&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt; &lt;title&gt;JVP-Gewinnspiel&lt;/title&gt; &lt;link href="styles.css" rel="stylesheet" type="text/css" /&gt; &lt;style type="text/css"&gt; #overlay {width:10px; height:10px; background-color:#F00;} &lt;/style&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt; &lt;/head&gt; &lt;body&gt; &lt;script type="text/javascript" src="jquery-1.7.1.min.js"&gt;&lt;/script&gt; &lt;script type="text/javascript"&gt; $(document).ready(function() { $("#vn").val("hello"); }); &lt;/script&gt; &lt;div id = "main"&gt; &lt;div class="inputField"&gt; &lt;label for="vn" class="overlabel1"&gt;Vorname&lt;/label&gt; &lt;input name="vn" id="vn" type="text" /&gt; &lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload