Review of jQuery Events Question (help Me)



I am trying to figure out when I complete my code and I try using it in the code editor (the result of my code). The code disappears. Help Me!!!!

$(document).ready(function() {
    $('button').click(function() {
    	var toAdd = $("input[name=message]").val();


Please post a link to the exercise. Thanks.

If I recall, we cannot change the name attribute or the list class.


sorry about that


Okay, now we can see you have not changed anything.

Be careful not to use Enter or Return to submit an input field. Use the button.


okay, not it saying "mixed spaces and tabs"


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.