will this work ok?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jay

    #1

    will this work ok?

    Before I go off and do this.....
    I plan to put some hidden <div>s in a form.
    When the user clicks an icon the div will show and contain a textarea.
    The user will enter some data into the text area and then click a 2nd icon
    to hide the div.

    When the form is submitted it is expected that page2 will have access to the
    textarea as normal.
    Yes?

    IE only environment.

    Jay


  • Evertjan.

    #2
    Re: will this work ok?

    Jay wrote on 17 apr 2005 in comp.lang.javas cript:
    [color=blue]
    > Before I go off and do this.....
    > I plan to put some hidden <div>s in a form.
    > When the user clicks an icon the div will show and contain a textarea.
    > The user will enter some data into the text area and then click a 2nd
    > icon to hide the div.[/color]

    Yes, that is possible.
    Please go off and do it, we will help you where you get stuck.
    [color=blue]
    > When the form is submitted it is expected that page2 will have access
    > to the textarea as normal.
    > Yes?[/color]

    No, another page does normally not have access to a textarea,
    only to the submitted content.
    [color=blue]
    > IE only environment.[/color]

    Why? The above is straightforward .

    --
    Evertjan.
    The Netherlands.
    (Replace all crosses with dots in my emailaddress)

    Comment

    • Jay

      #3
      Re: will this work ok?


      "Evertjan." <exjxw.hannivoo rt@interxnl.net > wrote in message
      news:Xns963B708 FCABF0eejj99@19 4.109.133.29...[color=blue]
      > Jay wrote on 17 apr 2005 in comp.lang.javas cript:
      >[color=green]
      >> Before I go off and do this.....
      >> I plan to put some hidden <div>s in a form.
      >> When the user clicks an icon the div will show and contain a textarea.
      >> The user will enter some data into the text area and then click a 2nd
      >> icon to hide the div.[/color]
      >
      > Yes, that is possible.
      > Please go off and do it, we will help you where you get stuck.[/color]

      I was asking if I could expect to come across any problems. Was a simple Q.
      [color=blue][color=green]
      >> When the form is submitted it is expected that page2 will have access
      >> to the textarea as normal.
      >> Yes?[/color]
      >
      > No, another page does normally not have access to a textarea,
      > only to the submitted content.[/color]

      Yes (if your first sentence is correct).
      I am talking about ASP being able to grab request.form(te xtareaName).
      I foresaw no issues being able to retain the data but never having put form
      elements inside divs and then used javascript on the divs I wanted to ensure
      that there were no hidden nasties.
      [color=blue][color=green]
      >> IE only environment.[/color]
      >
      > Why? The above is straightforward .[/color]

      Why because the pages/app will live on the intranet (only) at work.

      Jay


      Comment

      • pizzy

        #4
        Re: will this work ok?

        Jay this might help:



        Comment

        • Jay

          #5
          Re: will this work ok?


          "pizzy" <JohnMPadilla@g mail.com> wrote in message
          news:1113799220 .263773.194890@ z14g2000cwz.goo glegroups.com.. .[color=blue]
          > Jay this might help:
          >
          > http://groups-beta.google.com/group/...f17addff376b3b[/color]

          Thanks Pizzy, I went ahead and did it at work today and all worked as
          expected.

          Jay


          Comment

          Working...