DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Scripts inside SELECT problem

Hybrid View

  1. #1
    Thomas Rutledge Guest

    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?




  2. #2
    Matthew Solnit Guest

    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



  3. #3
    Thomas Rutledge Guest

    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
    >
    >




  4. #4
    Matthew Solnit Guest

    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
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center