User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 375,200 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,227 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 183 | Replies: 2
Reply
Join Date: Mar 2008
Posts: 68
Reputation: queenc is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 2
queenc queenc is offline Offline
Junior Poster in Training

help in getting text boxes value

  #1  
May 13th, 2008
hi
i am new to php
i have a javascript function
  1. function delayer(){
  2. var useri = document.getElementById('userid');
  3. var passwor = document.getElementById('passwords');
  4.  
  5. window.location = "https://website.com/login.aspx?OPFirmID=86&UID=useri&PW=passwor";
  6.  
  7. }
below i have a html code for textboxes for getting tat value,i want to pass them to aspx page
Last edited by peter_budo : May 14th, 2008 at 2:08 pm. Reason: Keep It Organized - please use [code] tags
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Mar 2008
Posts: 68
Reputation: queenc is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 2
queenc queenc is offline Offline
Junior Poster in Training

Re: help in getting text boxes value

  #2  
May 13th, 2008
sorry.i'm new to ASP.Net.please help.
Reply With Quote  
Join Date: Apr 2008
Posts: 18
Reputation: Nithya.G is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 1
Nithya.G's Avatar
Nithya.G Nithya.G is offline Offline
Newbie Poster

Re: help in getting text boxes value

  #3  
May 13th, 2008
try this for getting textbox value.
  1. var useri=document.getElementById("<%=userid.ClientID%>");
  2. var passwd=document.getElementById("<%=passid.ClientID%>");
Last edited by peter_budo : May 14th, 2008 at 2:09 pm. Reason: Keep It Organized - please use [code] tags
Nithya
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb ASP.NET Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the ASP.NET Forum

All times are GMT -4. The time now is 2:37 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC