click
binding on an a
tag (a link), for example, the browser will only call your handler function and will not navigate to the link’s href
. This is a useful default because when you use the click
binding, it’s normally because you’re using the link as part of a UI
that manipulates your view model, not as a regular hyperlink to another
web page.
However, if you do want to let the default click action proceed, just return true
from your click
handler function."
--
You received this message because you are subscribed to the Google Groups "KnockoutJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to knockoutjs+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.