-
Scripts inside SELECT problem
Hi everyone. I'm new to ASP and trying to fix a site that someone else
developed. When trying to view the page with the "Design" tab, I get the
error that I cannot view in Design mode because there is a script inside a
SELECT tag.
Is this a typical design? What could he be trying to do?
-
Re: Scripts inside SELECT problem
"Thomas Rutledge" <thomas3617@spamcop.net> wrote in message
news:3b0bee71@news.devx.com...
> Hi everyone. I'm new to ASP and trying to fix a site that someone else
> developed. When trying to view the page with the "Design" tab, I get the
> error that I cannot view in Design mode because there is a script inside a
> SELECT tag.
>
> Is this a typical design? What could he be trying to do?
The code probably uses a server-side script to create the <OPTION> tags. This
is a lame shortcoming of Visual InterDev. Maybe you will have better luck with
FrontPage or another tool. Note that to work with ASP pages, you need FrontPage
2000. FrontPage 97 will freak out on you.
-- Matthew Solnit
-
Re: Scripts inside SELECT problem
I have to stick with ASP. What is the better way to do this?
"Matthew Solnit" <msolnit@nospam.yahoo-com> wrote in message
news:3b0bf463@news.devx.com...
> "Thomas Rutledge" <thomas3617@spamcop.net> wrote in message
> news:3b0bee71@news.devx.com...
> > Hi everyone. I'm new to ASP and trying to fix a site that someone else
> > developed. When trying to view the page with the "Design" tab, I get
the
> > error that I cannot view in Design mode because there is a script inside
a
> > SELECT tag.
> >
> > Is this a typical design? What could he be trying to do?
>
> The code probably uses a server-side script to create the <OPTION> tags.
This
> is a lame shortcoming of Visual InterDev. Maybe you will have better luck
with
> FrontPage or another tool. Note that to work with ASP pages, you need
FrontPage
> 2000. FrontPage 97 will freak out on you.
>
> -- Matthew Solnit
>
>
-
Re: Scripts inside SELECT problem
"Thomas Rutledge" <thomas3617@spamcop.net> wrote in message
news:3b0c0b63@news.devx.com...
> I have to stick with ASP. What is the better way to do this?
I wasn't suggesting you stop using ASP. I am suggesting that a different editor
might make your life easier. InterDev chokes when it finds a server script
inside a <SELECT> tag. Maybe FrontPage doesn't. Either way, you're still using
Active Server Pages.
Good luck!
-- Matthew Solnit
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|