SP.Form.serverRelativeUrl Property

Applies to: SharePoint Foundation 2010

In this article
Property Value
Applies To
Remarks

Gets a value that specifies the server-relative URL of the list form.

var value = SP.Form.get_serverRelativeUrl(); 

Property Value

Type: String

Applies To

SP.Form Class

Remarks

It must not be empty. It must be a URL of server-relative form.

See Also

Reference

SP.Form Methods

SP.Form Properties

SP Namespace