func JqmTargetURI(ui *js.Object) *url.URL {
	rawURL := ui.Get("toPage").String()
	if rawURL == "[object Object]" {
		rawURL = ui.Get("toPage").Call("jqmData", "url").String()
	}
	pageURL, _ := url.Parse(rawURL)
	pageURL.Path = strings.TrimPrefix(pageURL.Path, "/android_asset/www")
	pageURL.Host = ""
	pageURL.User = nil
	pageURL.Scheme = ""
	return pageURL
}
// JqmTargetURI determines the target URI based on a jQuery Mobile event 'ui' object
JqmTargetURI determines the target URI based on a jQuery Mobile event 'ui' object
// JqmTargetURI determines the target URI based on a jQuery Mobile event ' ui ' object
func JqmTargetURI(ui *js.Object) *url.URL {
	rawURL := ui.Get("toPage").String()
	if rawURL == "[object Object]" {
		rawURL = ui.Get("toPage").Call("jqmData", "url").String()
	}
	pageURL, _ := url.Parse(rawURL)
	pageURL.Path = strings.TrimPrefix(pageURL.Path, "/android_asset/www")
	pageURL.Host = ""
	pageURL.User = nil
	pageURL.Scheme = ""
	return pageURL
}
func JqmTargetURI ( ui * js . Object ) * url . URL { rawURL := ui . Get ( " " ) . String ( ) if rawURL == " " { rawURL = ui . Get ( " " ) . Call ( " " , " " ) . String ( ) } pageURL , _ := url . Parse ( rawURL ) pageURL . Path = strings . TrimPrefix ( pageURL . Path , " " ) pageURL . Host = " " pageURL . User = nil pageURL . Scheme = " " return pageURL }
JqmTargetURI determines the target URI based on a jQuery Mobile event 'ui' object
JqmTargetURI determines the target URI based on a jQuery Mobile event ' ui ' object