Note that there are some explanatory texts on larger screens.

plurals
  1. POhow to check if js file is downloaded on client end
    primarykey
    data
    text
    <p>I have experienced a weird problem with javascript.</p> <p>The problem page uses some jQuery code to collect data and it does input checking validation. If the validation is true, it posts to the server. Some of our users reported (10% or maybe a lot less), they could not submit on the website.</p> <p>We talked with one of the users who had the problem, and were even more confused afterwards. </p> <p>Tester's PC: XP, IE8, FireFox</p> <p>The first time he used IE and the JavaScript validation did not fire, he was NOT able to submit data to server neither, because the validation was set to be false by default. (it is supposed to have a error message showing up if the validation is false)</p> <p>Afterwards he tested with F.F. (F.F. worked straight away). </p> <p>Coming back to IE again, the validation script started working and the submit was again successful.</p> <p>So, after all the tester don't have problem any more, and couldn't replicate neither.</p> <p>I am wondering if there is any software or program may stop the js file from downloading properly? Because the page is also hosted in a i-frame in another website, that is why i thinking some antivirus may think this is a across-domain threat and stopped the posting working.</p> <p>If so how can i do a check to ensure all the required js files are downloaded before user doing a submit?</p> <p>What else should i look into, since the problem happens on client end only, with no server-end validation yet.</p> <p>@drachenstern: thanks for the edit</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload