Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 22nd, 2012  |  syntax: None  |  size: 3.16 KB  |  hits: 16  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Can't select unknown attr's with jQuery in IE7
  2. div#wl-add-position-steps div[data-step="1"]
  3.        
  4. jQuery('div#wl-add-position-steps div[data-step="1"]').hide();
  5. jQuery('div#wl-add-position-steps div[data-step="2"]').show();
  6.        
  7. <div id="wl-add-position" style="display:none;">
  8.     <div class="wl-description">
  9.         <?php echo $this->translate('wlPositionAddDescription'); ?>
  10.     </div>
  11.     <div id="wl-add-position-steps" class="wl-steps cf">
  12.         <ul>
  13.             <li data-event-step="1" class="active"><span class="a-step"><?php echo $this->translate('stepX', 1); ?></span><?php echo $this->translate('wlPositionStep1'); ?></li>
  14.             <li data-event-step="2"><span class="a-step"><?php echo $this->translate('stepX', 2); ?></span><?php echo $this->translate('wlPositionStep2'); ?></li>
  15.             <li data-event-step="3"><span class="a-step"><?php echo $this->translate('stepX', 3); ?></span><?php echo $this->translate('wlPositionStep3'); ?>
  16.             </li>
  17.         </ul>
  18.     </div>
  19.     <div id="wl-add-position-steps">
  20.         <div data-step="1">
  21.             <input type="text" class="wl-search-full" id="wl-search-instrument" value="WKN/ISIN/Kürzel/Name" />
  22.             <ul data-block="instruments" class="wl-result-list box twoline activites"></ul>
  23.             <span data-block="nothing-found" style="display:none;">
  24.                 <br /><br />
  25.                 <img src="/common/img/watchlist-emptylist.png" align="center" class="search-no-warpper" />
  26.             </span>
  27.         </div>
  28.         <div data-step="2" style="display:none;">
  29.             <h3>
  30.                 <?php echo $this->translate('wlPostionAddStep3Title'); ?>
  31.             </h3>
  32.             <ul data-block="quoteSources" class="wl-result-list exchanges"></ul>
  33.         </div>
  34.         <div data-step="3" style="display:none;">
  35.             <div class="modal-form-position">
  36.                 <div class="cf">
  37.                     <label for="wl-instrument-name"><?php echo $this->translate('value'); ?></label>
  38.                     <input type="text" name="wl-instrument-name" id="wl-instrument-name" readonly value="" />
  39.                 </div>
  40.  
  41.                 <div class="cf">
  42.                     <label for="wl-quotesource-name"><?php echo $this->translate('quotesource'); ?></label>
  43.                     <input type="text" name="wl-quotesource-name" id="wl-quotesource-name" readonly value="" />
  44.                 </div>
  45.  
  46.                 <div class="cf">
  47.                     <label for="wl-instrument-value"><?php echo $this->translate('buyCourse'); ?></label>
  48.                     <input type="text" name="wl-instrument-value" id="wl-instrument-value" value="" />
  49.                 </div>
  50.  
  51.                 <div class="cf">
  52.                     <label for="wl-position-date"><?php echo $this->translate('date'); ?></label>
  53.                     <input type="text" name="wl-position-date" id="wl-position-date" value="<?php echo date('d.m.Y'); ?>" />
  54.                 </div>
  55.  
  56.                 <div class="cf">
  57.                     <label for="wl-position-comment"><?php echo $this->translate('comment'); ?></label>
  58.                     <textarea id="wl-position-comment"></textarea>
  59.                 </div>
  60.             </div>
  61.         </div>
  62.     </div>
  63. </div>