In my SharePoint site first I want to get Host URL(/Site URL ),and user would enter Relative URL in TextBox. Then I want to append that relative URL with Host URL Using jquery and need to check that URL before submit action.
How to get Relative URL using jquery in SharePoint Site?