hi
i am new to php
i have a javascript function

function delayer(){
var useri = document.getElementById('userid');
var passwor = document.getElementById('passwords');

window.location = "https://website.com/login.aspx?OPFirmID=86&UID=useri&PW=passwor";

}

below i have a html code for textboxes for getting tat value,i want to pass them to aspx page

Recommended Answers

All 2 Replies

sorry.i'm new to ASP.Net.please help.

try this for getting textbox value.

var useri=document.getElementById("<%=userid.ClientID%>");
var passwd=document.getElementById("<%=passid.ClientID%>");
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.