Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
rdodd  
#1 Posted : Friday, October 14, 2005 3:32:08 AM(UTC)
rdodd

Rank: Member

Groups: Member
Joined: 10/14/2005(UTC)
Posts: 6

I was trying to determine if the image upload object is installed, then display the appropriate page. When I was reading the online help there was a sample script that was provided, see link below)(http://www.aurigma.com/Support/Help/ImageUploader2/DetectingWhetherImageUploaderisAlreadyInstalled.htm)

There is an error in this code. The error is on line#5

document.writeln('');

and line #20

document.writeln('');

This is contained inside a javascript script block and as a result will cause an error when inserted into an ASP page.

Active Server Pages, ASP 0138 (0x80004005)

A script block cannot be placed inside another script block.

To fix the code you must do the following on line #5

document.writeln('');

As well as line#20

document.writeln('');

Robert

Robert
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.