In 1 form..have 2 "DIV".."DIV" one is for SEARCH.."DIV" two is for result searching

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rempit
    New Member
    • Aug 2007
    • 7

    In 1 form..have 2 "DIV".."DIV" one is for SEARCH.."DIV" two is for result searching

    In 1 form..have 2 "DIV"..

    "DIV" one is for SEARCH..
    "DIV" two is for showing the RESULT from Database of "DIV" one Button..

    Everything in one page..

    Anyone can help me please..
  • dip_developer
    Recognized Expert Contributor
    • Aug 2006
    • 648

    #2
    Originally posted by rempit
    In 1 form..have 2 "DIV"..

    "DIV" one is for SEARCH..
    "DIV" two is for showing the RESULT from Database of "DIV" one Button..

    Everything in one page..

    Anyone can help me please..
    have you tried any code...or do you want us to code for you...???
    ....please try something...... ...you are hoped to do so...as you know it is not the place to get the full coding and moreover it is utterly impossible I think......so please......
    ...we are always here to help you..........

    Comment

    • JamieHowarth0
      Recognized Expert Contributor
      • May 2007
      • 537

      #3
      Originally posted by dip_developer
      have you tried any code...or do you want us to code for you...???
      ....please try something...... ...you are hoped to do so...as you know it is not the place to get the full coding and moreover it is utterly impossible I think......so please......
      ...we are always here to help you..........
      Not impossibe, but at least half a day's work and if you're not prepared to attempt any coding yourself, then be prepared to pay for someone else to. PM me if you are after someone to do the entire thing for you and we'll discuss rates.

      Comment

      • dip_developer
        Recognized Expert Contributor
        • Aug 2006
        • 648

        #4
        Originally posted by medicineworker
        Not impossibe, but at least half a day's work and if you're not prepared to attempt any coding yourself, then be prepared to pay for someone else to. PM me if you are after someone to do the entire thing for you and we'll discuss rates.
        i have not written that the work is impossible....r ather it is work of just 15 minutes....not half a day's work .....
        but all these coding is not possible to provide here......code snipetts can be given......that s the thing i have told .........

        Comment

        • rempit
          New Member
          • Aug 2007
          • 7

          #5
          I trying this..

          HTML

          <p id="Layer1" align="center">

          <asp:TextBox ID="txtSearch" runat="server"> </asp:TextBox>
          <input type="BUTTON" value="SEARCH" onclick="move() " id="btn1" />

          </p>
          <p id="Layer2" align="center" >

          <asp:Label ID="lblList" runat="server" ></asp:Label>

          </p>

          CSS
          All the position is just random.

          #Table1 {
          background-color: green;
          position: absolute;
          height:500px;
          width:200px;
          left:735px;
          top:100px;
          }

          #Table2 {
          background-color: blue;
          position: absolute;
          height:500px;
          width:200px;
          left:800px;
          top:100px;
          display:none;
          }

          JavaScript

          var x=640;
          var y=850;

          function move()
          {
          var A = document.getEle mentById("Layer 1");
          var B = document.getEle mentById("layer 2");
          document.getEle mentById('Layer 2').style.displ ay = "inline";

          A.style.left=x;
          B.style.left=y;

          }

          All this thing is actually the way tht I want the page work.
          However..I don't know how to Display the DATA tp LAYER2 tht calling from database.
          How to calling the database without refreshing.

          The operation is :
          1. User need the type at the TextBox wht they need.
          2. Press the Button.
          3. Layer2 come out behind the Layer1 with the DATA.

          I'm using ASP.NET, VB..Not C#..

          Comment

          Working...