Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

141
Views
Javascript to build multiple querystrings

I have a script that will post to a page using a query string but I would like to modify it to post using multiple variables from multiple droplists. The scrip works as posted but I would like to add two more drop downs for strings "Position" and "Age"

<asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="TEAMS" DataTextField="mascot" DataValueField="team_id">
                </asp:DropDownList>
                <script runat="server">
            protected void button2_Click(object sender, EventArgs e)
            {
                Session["mydata"] = DropDownList1.SelectedValue;
                Response.Redirect("depth_chart.aspx?Team_id=" + DropDownList1.SelectedValue);
            }
        </script>

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!