Note that there are some explanatory texts on larger screens.

plurals
  1. POCan't select unknown attr's with jQuery in IE7
    primarykey
    data
    text
    <p>Each time i try to select a div element with the following selector:</p> <pre><code>div#wl-add-position-steps div[data-step="1"] </code></pre> <p>IE7 can't update the returned object.</p> <pre><code>jQuery('div#wl-add-position-steps div[data-step="1"]').hide(); jQuery('div#wl-add-position-steps div[data-step="2"]').show(); </code></pre> <p>HTML:</p> <pre><code>&lt;div id="wl-add-position" style="display:none;"&gt; &lt;div class="wl-description"&gt; &lt;?php echo $this-&gt;translate('wlPositionAddDescription'); ?&gt; &lt;/div&gt; &lt;div id="wl-add-position-steps" class="wl-steps cf"&gt; &lt;ul&gt; &lt;li data-event-step="1" class="active"&gt;&lt;span class="a-step"&gt;&lt;?php echo $this-&gt;translate('stepX', 1); ?&gt;&lt;/span&gt;&lt;?php echo $this-&gt;translate('wlPositionStep1'); ?&gt;&lt;/li&gt; &lt;li data-event-step="2"&gt;&lt;span class="a-step"&gt;&lt;?php echo $this-&gt;translate('stepX', 2); ?&gt;&lt;/span&gt;&lt;?php echo $this-&gt;translate('wlPositionStep2'); ?&gt;&lt;/li&gt; &lt;li data-event-step="3"&gt;&lt;span class="a-step"&gt;&lt;?php echo $this-&gt;translate('stepX', 3); ?&gt;&lt;/span&gt;&lt;?php echo $this-&gt;translate('wlPositionStep3'); ?&gt; &lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; &lt;div id="wl-add-position-steps"&gt; &lt;div data-step="1"&gt; &lt;input type="text" class="wl-search-full" id="wl-search-instrument" value="WKN/ISIN/Kürzel/Name" /&gt; &lt;ul data-block="instruments" class="wl-result-list box twoline activites"&gt;&lt;/ul&gt; &lt;span data-block="nothing-found" style="display:none;"&gt; &lt;br /&gt;&lt;br /&gt; &lt;img src="/common/img/watchlist-emptylist.png" align="center" class="search-no-warpper" /&gt; &lt;/span&gt; &lt;/div&gt; &lt;div data-step="2" style="display:none;"&gt; &lt;h3&gt; &lt;?php echo $this-&gt;translate('wlPostionAddStep3Title'); ?&gt; &lt;/h3&gt; &lt;ul data-block="quoteSources" class="wl-result-list exchanges"&gt;&lt;/ul&gt; &lt;/div&gt; &lt;div data-step="3" style="display:none;"&gt; &lt;div class="modal-form-position"&gt; &lt;div class="cf"&gt; &lt;label for="wl-instrument-name"&gt;&lt;?php echo $this-&gt;translate('value'); ?&gt;&lt;/label&gt; &lt;input type="text" name="wl-instrument-name" id="wl-instrument-name" readonly value="" /&gt; &lt;/div&gt; &lt;div class="cf"&gt; &lt;label for="wl-quotesource-name"&gt;&lt;?php echo $this-&gt;translate('quotesource'); ?&gt;&lt;/label&gt; &lt;input type="text" name="wl-quotesource-name" id="wl-quotesource-name" readonly value="" /&gt; &lt;/div&gt; &lt;div class="cf"&gt; &lt;label for="wl-instrument-value"&gt;&lt;?php echo $this-&gt;translate('buyCourse'); ?&gt;&lt;/label&gt; &lt;input type="text" name="wl-instrument-value" id="wl-instrument-value" value="" /&gt; &lt;/div&gt; &lt;div class="cf"&gt; &lt;label for="wl-position-date"&gt;&lt;?php echo $this-&gt;translate('date'); ?&gt;&lt;/label&gt; &lt;input type="text" name="wl-position-date" id="wl-position-date" value="&lt;?php echo date('d.m.Y'); ?&gt;" /&gt; &lt;/div&gt; &lt;div class="cf"&gt; &lt;label for="wl-position-comment"&gt;&lt;?php echo $this-&gt;translate('comment'); ?&gt;&lt;/label&gt; &lt;textarea id="wl-position-comment"&gt;&lt;/textarea&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; </code></pre> <p>Is this a known problem or just another problem?</p>
    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