Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I going back?
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00821939
Message ID:
00824343
Vues:
27
This message has been marked as the solution to the initial question of the thread.
You have some other javascript errors in the code that is preventing it from executing. Depending on the browser you are testing with you need to check for errors. If using IE then turn on the script debuging by going to tools, internet options. Then select the advanced page. Under advanced check the "display a notification about every script error" checkbox and make sure that the "disable script debugging" checkbox is NOT checked. You should then see the script errors when you load the page.

If you are using a Mozilla based browser then under the tools menu activate the Javascript Console to view script errors.

There are two lines that need to be corrected in your script.

Change:
if MustHaves=false || Wants=false || ZipFormat=false

To:
if (MustHaves==false || Wants==false || ZipFormat==false)

And change:

window scroll(0,0);

To:

window.scroll(0,0);





>Mike,
>I just made the change and tried it...
>same results.... the alert didn't fire...no evidence that the onsubmit code was executed.
>
>Rick
>
>--------------------
>>Javascript is case sensitive. You need to change:
>>
>>Function frmRDCST3_onsubmit()
>>
>>to:
>>
>>function frmRDCST3_onsubmit()
Michael McLain
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform