<doc>
	<legacy_id></legacy_id>
	<name>browserLoadRequest</name>
	<type>message</type>

	<syntax>
		<example>browserLoadRequest <i>url, type</i></example>
	</syntax>

	<synonyms>
	</synonyms>

	<summary>Sent when a URL has been requested.</summary>

	<examples>
<example><p>on browserLoadRequest pURL, pType</p><p>   answer &quot;Do you want to load:&quot; &amp;&amp; pURL with &quot;Yes&quot; and &quot;No&quot;</p><p>   if it is &quot;Yes&quot; then</p><p>      pass browserLoadRequest</p><p>   else</p><p>      put &quot;Refused:&quot; &amp;&amp; pURL into field &quot;Status&quot;</p><p>   end if</p><p>end browserLoadRequest</p></example>
	</examples>

	<history>
		<introduced version="4.5.3">Added</introduced>
		<deprecated version=""></deprecated>
		<removed version=""></removed>
		
	</history>

	<objects>
		<iosBrowser/>
	</objects>

	<platforms>
		<ios/>
	</platforms>

	<classes>
		<mobile/>
	</classes>

	<security>
	</security>


	<classification>
	</classification>

	<references>
		<function tag="mobileControlGet">mobileControlGet Function</function>
		<function tag="mobileControlTarget">mobileControlTarget Function</function>
		<function tag="mobileControls">mobileControls Function</function>
		<command tag="mobileControlCreate">mobileControlCreate Command</command>
		<command tag="mobileControlDelete">mobileControlDelete Command</command>
		<command tag="mobileControlSet">mobileControlSet Command</command>
		<message tag="browserStartedLoading">browserStartedLoading Message</message>
		<message tag="browserFinishedLoading">browserFinishedLoading Message</message>
		<message tag="browserLoadFailed">browserLoadFailed Message</message>
	</references>

	<description>
	<overview>Handle the <b>browserLoadRequest</b> message to perform an action when a URL has been requested.</overview>

		<parameters>
  <parameter>
    <name>url</name>
    <description>The URL that has started to load.</description>
  </parameter>
  <parameter>
    <name>type</name>
    <description>The reason for the request. One of:</description>
    <options title="">
      <option>
        <item>click</item>
        <description/>
      </option>
      <option>
        <item>submit</item>
        <description/>
      </option>
      <option>
        <item>navigate</item>
        <description/>
      </option>
      <option>
        <item>reload</item>
        <description/>
      </option>
      <option>
        <item>resubmit</item>
        <description/>
      </option>
      <option>
        <item>other</item>
        <description/>
      </option>
    </options>
  </parameter>		</parameters>

	<value></value>
	<comments>The <b>browserLoadRequest</b> message is sent to the object containing the script that created the UIWebView browser control after a url has been requested.<p></p><p>Not passing the message causes the load request to not go ahead.</p><p></p><p>The <b>browserLoadRequest </b>is only sent if <command tag="mobileControlSet">delayRequests</command> has been set to true. </p><p></p><p></p><note>Delaying requests can cause web pages that load pages into sub-documents to not work correctly.</note><p></p><p></p><note>The <b>browserLoadRequest</b> message is sent in response to the webView:shouldStartLoadWithRequest: delegate method.</note></comments>
	</description>
</doc>