RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: Martin-Brennan
Site: http://www.martin-brennan.com
Great explanation of polling, thanks very much. I love how you build on extra functionality in your videos and go basic > intermediate > advanced with the extra features you keep adding on.
I thought that too, I used to do e.preventDefault() all the time until I looked up this Stack Overflow article: http://stackoverflow.com/questions/134845/href-attribute-for-javascript-links-or-javascriptvoid0
Now I just use javascript:void(0) all the time!
Great explanation of polling, thanks very much. I love how you build on extra functionality in your videos and go basic > intermediate > advanced with the extra features you keep adding on.
I thought that too, I used to do e.preventDefault() all the time until I looked up this Stack Overflow article: http://stackoverflow.com/questions/134845/href-attribute-for-javascript-links-or-javascriptvoid0
Now I just use javascript:void(0) all the time!