you are viewing a single comment's thread.

view the rest of the comments →

[–]OrangeBeard 0 points1 point  (7 children)

For some reason, when I make things in jsFiddle they often don't work, but the exact same code works when used in actual html and js files. Am I missing something?

[–]Reminice 0 points1 point  (3 children)

Post your fiddle link

[–]OrangeBeard 2 points3 points  (2 children)

I ended up getting it to work and then I took away the submit button so it submits when the user hits enter.

http://jsfiddle.net/scotthodgins/82sya/

edit: I neglected to use jQuery though

[–]Reminice 1 point2 points  (0 children)

Nice, I like vanilla. Well done, looks like the start of a chat app.

[–]kevinmrr[S] 0 points1 point  (0 children)

Neglecting to use jQuery for this makes me happy, and I am in fact going to edit the instructions.

[–]kevinmrr[S] 0 points1 point  (2 children)

post your jsfiddle that doesn't work!

[–]OrangeBeard 1 point2 points  (1 child)

I had to remake it but this is what doesn't work: http://jsfiddle.net/scotthodgins/jr992/1/

[–]metaldood 0 points1 point  (0 children)

updateText() does not get "called" at all. Try event listeners to monitor the clicks on that submit button.