This function has multiple overloads
- Base URL String
- Current Page's URL
- Anchor Elements
Converts any URL source to an absolute, properly encoded URL.Combines a relative URL with a base URL string. Use when you have an explicit base URL string to resolve relative paths against.
Examples
Arguments
str
required
The relative or absolute URL to resolve.
str
required
Base URL string to resolve relative URLs against.