-3

Possible Duplicate:
Jquery event handlers return values

Is it important to return values in js events(like change, click)? If yes where i can use it?

I cant find any information about this.

Community
  • 1
  • 1
Torv
  • 1,214
  • 2
  • 11
  • 29

1 Answers1

3

In case that you want to prevent the default action of the event and stop the propagation of it you can use return false, otherwise using return statement is not necessary.

Ram
  • 143,282
  • 16
  • 168
  • 197