jQuery.Range.static.collapse  function     

Collapses a range

$('#foo').range().collapse()
$.Range.collapse(toStart) -> Range
{optional:Boolean}

true if to the start of the range, false if to the end. Defaults to false.

{Range}

returns the range for chaining.

© Jupiter IT - JavaScriptMVC Training and Support