{hidden}
DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY, UNLESS YOU KNOW WHAT YOU'RE DOING.
		THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACT CHANGES FROM THE PAGE AND MERGE THEM BACK INTO SERVOY SOURCE{hidden}
{sub-section:description|text=}{sub-section}\\{table:class=servoy sSummery}{colgroup}{column:width=80px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Property Summary{th}{tr}{tbody}{tr}{td}[Boolean]{td}{td}[#buttonsEnabled]
Set/Get the history buttons enabled.{td}{tr}{tbody}{table}\\{table:class=servoy sSummery}{colgroup}{column:width=80px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Method Summary{th}{tr}{tbody}{tr}{td}void{td}{td}[#back]\()
Navigates back in the history stack; shows the previous form (if present).{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#clear]\()
Clear the entire history stack.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#forward]\()
Navigates forward in the history stack; shows the next form (if present).{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#getCurrentIndex]\()
Get the current absolute index in the history stack.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#getFormName]\(i)
Get the form name based on the specified absolute index in the history stack location.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#go]\(i)
Navigates to the relative index based on current position in the history.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#removeForm]\(formName)
Removes the named form item from the history stack (and from memory) if not currently shown.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#removeIndex]\(index)
Removes an absolute index based history stack form item.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#size]\()
Returns the total size of the history stack.{td}{tr}{tbody}{table}\\{table:class=servoy sDetail}{colgroup}{column:width=100%}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Property Details{th}{tr}{tbody:id=DFD980E3-0214-43BC-A148-84E9BF2172B9}{tr:id=name}{td}h6.buttonsEnabled{td}{tr}{tr:id=des}{td}{sub-section:DFD980E3-0214-43BC-A148-84E9BF2172B9_des|text=|trigger=button}{sub-section}{sub-section:DFD980E3-0214-43BC-A148-84E9BF2172B9_des|trigger=none|class=sIndent}Set/Get the history buttons enabled.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:DFD980E3-0214-43BC-A148-84E9BF2172B9_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:DFD980E3-0214-43BC-A148-84E9BF2172B9_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:DFD980E3-0214-43BC-A148-84E9BF2172B9_ret|text=|trigger=button}{sub-section}{sub-section:DFD980E3-0214-43BC-A148-84E9BF2172B9_ret|trigger=none|class=sIndent}[Boolean]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:DFD980E3-0214-43BC-A148-84E9BF2172B9_see|text=|trigger=button}{sub-section}{sub-section:DFD980E3-0214-43BC-A148-84E9BF2172B9_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:DFD980E3-0214-43BC-A148-84E9BF2172B9_see|text=|trigger=button}{sub-section}{sub-section:DFD980E3-0214-43BC-A148-84E9BF2172B9_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:DFD980E3-0214-43BC-A148-84E9BF2172B9_sam|text=|trigger=button}{sub-section}{sub-section:DFD980E3-0214-43BC-A148-84E9BF2172B9_sam|class=sIndent|trigger=none}{code:language=javascript}
history.buttonsEnabled = true;
var status = history.buttonsEnabled;
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}\\{table:class=servoy sDetail}{colgroup}{column:width=100%}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Method Details{th}{tr}{tbody:id=0F847C8B-00F4-4566-BF18-0BAA50536E90}{tr:id=name}{td}h6.back{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}back{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:0F847C8B-00F4-4566-BF18-0BAA50536E90_des|text=|trigger=button}{sub-section}{sub-section:0F847C8B-00F4-4566-BF18-0BAA50536E90_des|trigger=none|class=sIndent}Navigates back in the history stack; shows the previous form (if present).{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:0F847C8B-00F4-4566-BF18-0BAA50536E90_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:0F847C8B-00F4-4566-BF18-0BAA50536E90_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:0F847C8B-00F4-4566-BF18-0BAA50536E90_ret|text=|trigger=button}{sub-section}{sub-section:0F847C8B-00F4-4566-BF18-0BAA50536E90_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:0F847C8B-00F4-4566-BF18-0BAA50536E90_see|text=|trigger=button}{sub-section}{sub-section:0F847C8B-00F4-4566-BF18-0BAA50536E90_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:0F847C8B-00F4-4566-BF18-0BAA50536E90_see|text=|trigger=button}{sub-section}{sub-section:0F847C8B-00F4-4566-BF18-0BAA50536E90_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:0F847C8B-00F4-4566-BF18-0BAA50536E90_sam|text=|trigger=button}{sub-section}{sub-section:0F847C8B-00F4-4566-BF18-0BAA50536E90_sam|class=sIndent|trigger=none}{code:language=javascript}
history.back();
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=2C2E58C5-D6AE-4CCA-BB46-183E99C6C33E}{tr:id=name}{td}h6.clear{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}clear{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:2C2E58C5-D6AE-4CCA-BB46-183E99C6C33E_des|text=|trigger=button}{sub-section}{sub-section:2C2E58C5-D6AE-4CCA-BB46-183E99C6C33E_des|trigger=none|class=sIndent}Clear the entire history stack.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:2C2E58C5-D6AE-4CCA-BB46-183E99C6C33E_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:2C2E58C5-D6AE-4CCA-BB46-183E99C6C33E_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:2C2E58C5-D6AE-4CCA-BB46-183E99C6C33E_ret|text=|trigger=button}{sub-section}{sub-section:2C2E58C5-D6AE-4CCA-BB46-183E99C6C33E_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:2C2E58C5-D6AE-4CCA-BB46-183E99C6C33E_see|text=|trigger=button}{sub-section}{sub-section:2C2E58C5-D6AE-4CCA-BB46-183E99C6C33E_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:2C2E58C5-D6AE-4CCA-BB46-183E99C6C33E_see|text=|trigger=button}{sub-section}{sub-section:2C2E58C5-D6AE-4CCA-BB46-183E99C6C33E_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:2C2E58C5-D6AE-4CCA-BB46-183E99C6C33E_sam|text=|trigger=button}{sub-section}{sub-section:2C2E58C5-D6AE-4CCA-BB46-183E99C6C33E_sam|class=sIndent|trigger=none}{code:language=javascript}
history.clear();
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=826E79CE-F077-4870-B1F5-AD4DBE7BF610}{tr:id=name}{td}h6.forward{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}forward{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:826E79CE-F077-4870-B1F5-AD4DBE7BF610_des|text=|trigger=button}{sub-section}{sub-section:826E79CE-F077-4870-B1F5-AD4DBE7BF610_des|trigger=none|class=sIndent}Navigates forward in the history stack; shows the next form (if present).{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:826E79CE-F077-4870-B1F5-AD4DBE7BF610_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:826E79CE-F077-4870-B1F5-AD4DBE7BF610_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:826E79CE-F077-4870-B1F5-AD4DBE7BF610_ret|text=|trigger=button}{sub-section}{sub-section:826E79CE-F077-4870-B1F5-AD4DBE7BF610_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:826E79CE-F077-4870-B1F5-AD4DBE7BF610_see|text=|trigger=button}{sub-section}{sub-section:826E79CE-F077-4870-B1F5-AD4DBE7BF610_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:826E79CE-F077-4870-B1F5-AD4DBE7BF610_see|text=|trigger=button}{sub-section}{sub-section:826E79CE-F077-4870-B1F5-AD4DBE7BF610_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:826E79CE-F077-4870-B1F5-AD4DBE7BF610_sam|text=|trigger=button}{sub-section}{sub-section:826E79CE-F077-4870-B1F5-AD4DBE7BF610_sam|class=sIndent|trigger=none}{code:language=javascript}
history.forward();
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=8FF1D9F4-9DAB-4B61-B0B0-37EB88354447}{tr:id=name}{td}h6.getCurrentIndex{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Number]{span}{span:id=iets|style=float: left; font-weight: bold;}getCurrentIndex{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:8FF1D9F4-9DAB-4B61-B0B0-37EB88354447_des|text=|trigger=button}{sub-section}{sub-section:8FF1D9F4-9DAB-4B61-B0B0-37EB88354447_des|trigger=none|class=sIndent}Get the current absolute index in the history stack.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:8FF1D9F4-9DAB-4B61-B0B0-37EB88354447_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:8FF1D9F4-9DAB-4B61-B0B0-37EB88354447_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:8FF1D9F4-9DAB-4B61-B0B0-37EB88354447_ret|text=|trigger=button}{sub-section}{sub-section:8FF1D9F4-9DAB-4B61-B0B0-37EB88354447_ret|trigger=none|class=sIndent}[Number] -- the current absolute index{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:8FF1D9F4-9DAB-4B61-B0B0-37EB88354447_see|text=|trigger=button}{sub-section}{sub-section:8FF1D9F4-9DAB-4B61-B0B0-37EB88354447_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:8FF1D9F4-9DAB-4B61-B0B0-37EB88354447_see|text=|trigger=button}{sub-section}{sub-section:8FF1D9F4-9DAB-4B61-B0B0-37EB88354447_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:8FF1D9F4-9DAB-4B61-B0B0-37EB88354447_sam|text=|trigger=button}{sub-section}{sub-section:8FF1D9F4-9DAB-4B61-B0B0-37EB88354447_sam|class=sIndent|trigger=none}{code:language=javascript}
var abs_index = history.getCurrentIndex();
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=9C5FC793-67E9-4059-A50A-2EB66BDF93DE}{tr:id=name}{td}h6.getFormName{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}getFormName{span}{span:id=iets|style=float: left;}\(i){span}{td}{tr}{tr:id=des}{td}{sub-section:9C5FC793-67E9-4059-A50A-2EB66BDF93DE_des|text=|trigger=button}{sub-section}{sub-section:9C5FC793-67E9-4059-A50A-2EB66BDF93DE_des|trigger=none|class=sIndent}Get the form name based on the specified absolute index in the history stack location.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:9C5FC793-67E9-4059-A50A-2EB66BDF93DE_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:9C5FC793-67E9-4059-A50A-2EB66BDF93DE_prs|trigger=none}i -- the absolute index
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:9C5FC793-67E9-4059-A50A-2EB66BDF93DE_ret|text=|trigger=button}{sub-section}{sub-section:9C5FC793-67E9-4059-A50A-2EB66BDF93DE_ret|trigger=none|class=sIndent}[String] -- the formName{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:9C5FC793-67E9-4059-A50A-2EB66BDF93DE_see|text=|trigger=button}{sub-section}{sub-section:9C5FC793-67E9-4059-A50A-2EB66BDF93DE_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:9C5FC793-67E9-4059-A50A-2EB66BDF93DE_see|text=|trigger=button}{sub-section}{sub-section:9C5FC793-67E9-4059-A50A-2EB66BDF93DE_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:9C5FC793-67E9-4059-A50A-2EB66BDF93DE_sam|text=|trigger=button}{sub-section}{sub-section:9C5FC793-67E9-4059-A50A-2EB66BDF93DE_sam|class=sIndent|trigger=none}{code:language=javascript}
var name = history.getFormName(history.getCurrentIndex());
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=DDC23977-B740-4BD5-8C11-BA5131EA0224}{tr:id=name}{td}h6.go{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}go{span}{span:id=iets|style=float: left;}\(i){span}{td}{tr}{tr:id=des}{td}{sub-section:DDC23977-B740-4BD5-8C11-BA5131EA0224_des|text=|trigger=button}{sub-section}{sub-section:DDC23977-B740-4BD5-8C11-BA5131EA0224_des|trigger=none|class=sIndent}Navigates to the relative index based on current position in the history.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:DDC23977-B740-4BD5-8C11-BA5131EA0224_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:DDC23977-B740-4BD5-8C11-BA5131EA0224_prs|trigger=none}i -- the absolute index
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:DDC23977-B740-4BD5-8C11-BA5131EA0224_ret|text=|trigger=button}{sub-section}{sub-section:DDC23977-B740-4BD5-8C11-BA5131EA0224_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:DDC23977-B740-4BD5-8C11-BA5131EA0224_see|text=|trigger=button}{sub-section}{sub-section:DDC23977-B740-4BD5-8C11-BA5131EA0224_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:DDC23977-B740-4BD5-8C11-BA5131EA0224_see|text=|trigger=button}{sub-section}{sub-section:DDC23977-B740-4BD5-8C11-BA5131EA0224_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:DDC23977-B740-4BD5-8C11-BA5131EA0224_sam|text=|trigger=button}{sub-section}{sub-section:DDC23977-B740-4BD5-8C11-BA5131EA0224_sam|class=sIndent|trigger=none}{code:language=javascript}
history.go(-3);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=0E472853-0AA0-4659-9A02-184EED010B5B}{tr:id=name}{td}h6.removeForm{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}removeForm{span}{span:id=iets|style=float: left;}\(formName){span}{td}{tr}{tr:id=des}{td}{sub-section:0E472853-0AA0-4659-9A02-184EED010B5B_des|text=|trigger=button}{sub-section}{sub-section:0E472853-0AA0-4659-9A02-184EED010B5B_des|trigger=none|class=sIndent}Removes the named form item from the history stack (and from memory) if not currently shown.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:0E472853-0AA0-4659-9A02-184EED010B5B_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:0E472853-0AA0-4659-9A02-184EED010B5B_prs|trigger=none}formName -- the name of the form to remove.
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:0E472853-0AA0-4659-9A02-184EED010B5B_ret|text=|trigger=button}{sub-section}{sub-section:0E472853-0AA0-4659-9A02-184EED010B5B_ret|trigger=none|class=sIndent}[Boolean] -- true if successful{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:0E472853-0AA0-4659-9A02-184EED010B5B_see|text=|trigger=button}{sub-section}{sub-section:0E472853-0AA0-4659-9A02-184EED010B5B_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:0E472853-0AA0-4659-9A02-184EED010B5B_see|text=|trigger=button}{sub-section}{sub-section:0E472853-0AA0-4659-9A02-184EED010B5B_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:0E472853-0AA0-4659-9A02-184EED010B5B_sam|text=|trigger=button}{sub-section}{sub-section:0E472853-0AA0-4659-9A02-184EED010B5B_sam|class=sIndent|trigger=none}{code:language=javascript}
var done = history.removeForm('mypreviousform');
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=63C3F571-8615-4B99-A6A8-1B3EB3912CDC}{tr:id=name}{td}h6.removeIndex{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}removeIndex{span}{span:id=iets|style=float: left;}\(index){span}{td}{tr}{tr:id=des}{td}{sub-section:63C3F571-8615-4B99-A6A8-1B3EB3912CDC_des|text=|trigger=button}{sub-section}{sub-section:63C3F571-8615-4B99-A6A8-1B3EB3912CDC_des|trigger=none|class=sIndent}Removes an absolute index based history stack form item.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:63C3F571-8615-4B99-A6A8-1B3EB3912CDC_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:63C3F571-8615-4B99-A6A8-1B3EB3912CDC_prs|trigger=none}index -- the index of the form to remove.
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:63C3F571-8615-4B99-A6A8-1B3EB3912CDC_ret|text=|trigger=button}{sub-section}{sub-section:63C3F571-8615-4B99-A6A8-1B3EB3912CDC_ret|trigger=none|class=sIndent}[Boolean] -- true if successful{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:63C3F571-8615-4B99-A6A8-1B3EB3912CDC_see|text=|trigger=button}{sub-section}{sub-section:63C3F571-8615-4B99-A6A8-1B3EB3912CDC_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:63C3F571-8615-4B99-A6A8-1B3EB3912CDC_see|text=|trigger=button}{sub-section}{sub-section:63C3F571-8615-4B99-A6A8-1B3EB3912CDC_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:63C3F571-8615-4B99-A6A8-1B3EB3912CDC_sam|text=|trigger=button}{sub-section}{sub-section:63C3F571-8615-4B99-A6A8-1B3EB3912CDC_sam|class=sIndent|trigger=none}{code:language=javascript}
var done = history.removeIndex(history.getCurrentIndex()+1);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=10D16A5F-79DE-4802-8C87-3897042EAA6E}{tr:id=name}{td}h6.size{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Number]{span}{span:id=iets|style=float: left; font-weight: bold;}size{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:10D16A5F-79DE-4802-8C87-3897042EAA6E_des|text=|trigger=button}{sub-section}{sub-section:10D16A5F-79DE-4802-8C87-3897042EAA6E_des|trigger=none|class=sIndent}Returns the total size of the history stack.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:10D16A5F-79DE-4802-8C87-3897042EAA6E_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:10D16A5F-79DE-4802-8C87-3897042EAA6E_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:10D16A5F-79DE-4802-8C87-3897042EAA6E_ret|text=|trigger=button}{sub-section}{sub-section:10D16A5F-79DE-4802-8C87-3897042EAA6E_ret|trigger=none|class=sIndent}[Number] -- the size{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:10D16A5F-79DE-4802-8C87-3897042EAA6E_see|text=|trigger=button}{sub-section}{sub-section:10D16A5F-79DE-4802-8C87-3897042EAA6E_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:10D16A5F-79DE-4802-8C87-3897042EAA6E_see|text=|trigger=button}{sub-section}{sub-section:10D16A5F-79DE-4802-8C87-3897042EAA6E_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:10D16A5F-79DE-4802-8C87-3897042EAA6E_sam|text=|trigger=button}{sub-section}{sub-section:10D16A5F-79DE-4802-8C87-3897042EAA6E_sam|class=sIndent|trigger=none}{code:language=javascript}
var size = history.size();
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}