e.srcElement is undefined in firefox?
<p>I am developing a website and now am testing in all browsers, I am currently testing in firefox and have found and error when using event.sourceElement?</p>

<p>What i need e.srcElement to do is return values, a bit below i show an example on how i get the value PropID returned.</p>

<p>I have written a Jquery function that uses the e.srcElement and it looks as follows:</p>

<pre><code>$(function () {
        $(".DownloadLink").click(function (e) {
            e.preventDefault();

            var PropID = getParameterByName("PropID", e.srcElement.search),
                Token = getParameterByName("Token", e.srcElement.search),
                TrackingNumber = getParameterByName("TrackingNumber", e.srcElement.search);

            $.post("Valuation", { PropID: PropID, Token: Token, TrackingNumber: TrackingNumber}, function (taskId) {

                // Init monitors

                $("#dialog-modal").append($("&lt;p id='" + taskId + "'/&gt;"));
                updateMonitor(taskId, "Started");

                // Periodically update Modal
                var intervalId = setInterval(function () {
                    $.post("Progress", { id: taskId }, function (progress) {
                        if (progress &lt; 50) {
                            updateMonitor(taskId, "Building File");
                        } else if (progress == 50) {
                            updateMonitor(taskId, "Uploading File to FormMobi");
                        } else if (progress &gt;= 100) {
                            clearInterval(intervalId);
                            updateMonitor(taskId, "Complete");
                            window.location.href = "downloadcomplete";
                        }
                    });
                }, 100);
            });
        });
</code></pre>

<hr>

<p><strong>example of how e.srcElement works:</strong></p>

<p>While testing in chrome and using the inspect element i can find that the following line returns:</p>

<p>Line of code:</p>

<blockquote>
  <p>PropID = getParameterByName("PropID", e.srcElement.search)</p>
</blockquote>

<p>Returned result:</p>

<blockquote>
  <p>search:
  "?PropID=77301&amp;Token=74d30c0e-b4ab-4164-9dfd-f35fd7091cdc&amp;TrackingNumber=367"</p>
</blockquote>

<p>And so i can get the PropID result needed.</p>

<hr>

<p>Is there some other why for me to return the values needed? Or
How can i get e.srcElement to work in fireFox?</p>
