Jump to content
UBot Underground

Selecting dropdown in sockets


Recommended Posts

I have been trying to get to select dropdowns in sockets. No joy.

To what I recall from the last update it said the issue was fixed. Not sure if I am trying to do some wrong.

 

Ok the for Squi-d00, you know what. Its when creating a lenz, they ask ask to choose the category. Thats where I am stuck.

 

Anyone who has tried and was successful?

 

Thanks,

 

Praney

Link to post
Share on other sites

Sockets do not support javascript, Ajax, etc, etc It is a straight text based process, so if it's not standard html it probably won't work.

 

John

Link to post
Share on other sites

here is the code John:

 

<select id="topic_id1" name="topics[]" title="Choose a topic (the best that fits)" tabindex="3" class="createSelect">
 <option value="">Choose a topic (the best that fits)
     <option value="5887581">Arts & Design
     <option value="5887601">Books, Poetry & Writing
     <option value="5887571" selected>Business & Work
     <option value="5887591">Cars
     <option value="5887611">Computers & Electronics
     <option value="5887631">Culture & Society
     <option value="5887500">Education
     <option value="5887494">Entertainment & Media
     <option value="5887751">Fashion & Beauty
     <option value="5887641">Food & Cooking
     <option value="5887651">Healthy Living
     <option value="5887621">Hobbies, Games & Toys
     <option value="5887731">Holidays & Celebrations
     <option value="5887661">Home & Garden
     <option value="5887691">Internet
     <option value="5887497">Music
     <option value="5887681">Nonprofits
     <option value="5887711">Parenting & Kids
     <option value="5887561">Pets & Animals
     <option value="5887741">Relationships & Family
     <option value="5887701">Sports & Recreation
     <option value="5887551">Squidoo Community
     <option value="5887671">Travel & Places
     <option value="5887498">Video Games
     <option value="5887721">Weddings
 </select>
<script>
 (function() {
   var i = setInterval(function() {
     if (window.Topics) {
       clearInterval(i);
       jQuery(function() {
         Topics.onChange('topic_id1', 'topic_id2', 'con_topic_id2');
       });
     }
   }, 100);
 })();
</script>
       </div> 
     </div> 
     <div class="form_item" id="con_topic_id2" style="display: none;"> 
       <div class="form_left"> 
         <label for="topic_id2" class="createMain">Pick your subtopic:
         <span>Helps people find your lens</span></label> 
       </div> 
       <div class="form_right"> 
         <select id="topic_id2" name="topics[]" title="Choose a subtopic (helps people find your lens)" tabindex="4" class="createSelect">
 <option value="">Choose a subtopic (helps people find your lens)
     <option value="5887581">Arts & Design
     <option value="5887601">Books, Poetry & Writing
     <option value="5887571">Business & Work
     <option value="5887591">Cars
     <option value="5887611">Computers & Electronics
     <option value="5887631">Culture & Society
     <option value="5887500">Education
     <option value="5887494">Entertainment & Media
     <option value="5887751">Fashion & Beauty
     <option value="5887641">Food & Cooking
     <option value="5887651">Healthy Living
     <option value="5887621">Hobbies, Games & Toys
     <option value="5887731">Holidays & Celebrations
     <option value="5887661">Home & Garden
     <option value="5887691">Internet
     <option value="5887497">Music
     <option value="5887681">Nonprofits
     <option value="5887711">Parenting & Kids
     <option value="5887561">Pets & Animals
     <option value="5887741">Relationships & Family
     <option value="5887701">Sports & Recreation
     <option value="5887551">Squidoo Community
     <option value="5887671">Travel & Places
     <option value="5887498">Video Games
     <option value="5887721">Weddings
 </select>

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...