title: How to add a webpart to a listview in sharepoint 2010?
body: <p>I have to add a &quot;Content Editor&quot; web part to a list view. The &quot;Content Editor&quot; is required to implement some java script and a html textbox.</p>
  <p>The problem is that after adding the web part to the list view the dropdown to switch your current view gets lost. It doesnt matter where you add the web part or if you try it with the designer or IE.</p>
  <p>Do you have any ideas on how to solve this? Or is there another way to implement java script into a listview without adding a new web part?</p>
  <p>This is the dropdown I mean:</p>
  <p><a href="https://i.stack.imgur.com/y6koy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/y6koy.png" alt="Dropdown" /></a></p>