Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Learning to use JavaScript with ASP.Net
Message
 
To
21/05/2009 17:37:57
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
ASP.NET
Application:
Web
Miscellaneous
Thread ID:
01400821
Message ID:
01401531
Views:
54
>
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform