Advertisement
Guest User

Untitled

a guest
Jul 4th, 2015
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. <%= button_to_with_icon("<i class='fa fa-youtube-play'></i>Media Contents", { action: "newapp2_youtube", :case_code=> @case_code }, class: "btn btn-outline6") %>
  2.  
  3. <div class="button data" style="">
  4. <a class="button1 whiteColor" href="http://link1.com">VIEW This</a>
  5. <a class="button2 redColor" href="http://link2.com">VIEW That</a>
  6. </div>
  7. <script>
  8. document.getElementsByClassName("button2 redColor")[0].click()
  9. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement