Return to Snippet

Revision: 70097
at November 20, 2015 21:55 by envane21


Initial Code
HTML

<button class="myBtn myBtnCTA signIn" onclick="javascript:;">
                            <span>Close</span>
</button>

jQuery

alert($('button.myBtn.myBtnCTA.signIn span').text());

Initial URL

                                

Initial Description
change <span> value of button with jquery

Initial Title
change  value of button with jquery

Initial Tags
jquery, button

Initial Language
jQuery