Applies to: SharePoint Foundation 2010
In this article
Gets a value that specifies the base view identifier of the list view.
var value = SP.View.get_baseViewId();
It must be an integer encoded as a string. Its value must be equal to or greater than 0. Its value must be equal to or less than 255.