Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Learning to use JavaScript with ASP.Net
Message
 
À
21/05/2009 17:37:57
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
ASP.NET
Application:
Web
Divers
Thread ID:
01400821
Message ID:
01401531
Vues:
53
>
>OK, now we are getting somewhere. The EditAfterNew script is showing a JScript runtime error even before it the call to inject it into the page. The yellow pointer is on an empty line and indicating "Object Required". What does this mean? Are blank lines not allowed in JavaScript? Is the script validated when the page is loaded?
>Tim

No, blank lines are fine. I'm not sure where it's error out. Has the call to EditAfterNew run and the pointer now inside of the function or right on top of the function? Check the function call to EditAfterNew - it's important that you have the single/double quotes correct in the string. JS code start running as soon as they've been loaded (for functions, they'll only run if there are calls to them).
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform