Solved

Using Jquery clone

Posted on 2015-02-05
1
58 Views
Last Modified: 2015-02-05
So sorry.  I had this posted earlier but accidentally deleted it.  My apologies to anyone that posted a comment.

The following code is not copying the submit button just the dropdown.

http://jsfiddle.net/isogunro/t28sv760/7/

Any help would be appreciated.

Thanks!
0
Comment
Question by:Isaac
1 Comment
 
LVL 42

Accepted Solution

by:
Chris Stanyon earned 500 total points
ID: 40591925
You're cloning the controlGroup, which doesn't contain the submit button. Move that inside the controlGroup DIV and you're good to go:

<div class="controlGroup">
   <h2>Filter by Role</h2>
   <select id="RoleSelect">
      <option selected="selected" value="all">All</option>
      <option value="command-Andrew">Andrew</option>
      <option value="command-Charles">Charles</option>
      <option value="command-DPE">DPE</option>
      <option value="command-CDD">CDD</option>
   </select>
   <br />
   <input id="submitControlGroup" type="submit" value="Submit"/>
</div>

Open in new window

0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Requirements JQuery 1.6+ HTML CSS Introduction This article was inspired by an EE question (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28372511.html) on how to make a page show some balloons animate up a page…
Introduction JSON is an acronym for JavaScript Object Notation.  It is a text-string data transport mechanism, capable of representing simple or complex data structures in a consistent and easy-to-read manner.  Similar in concept to XML, but more e…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now