CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 programmer

Print topic Send  topic

Author Message
Tauqeer Nawaz
Posted: 04/07/2004, 10:25 PM

Hi,
i have two list boxes in my form and some other text boxes.I am using on change client event on first list box in order to change the value of another list box.Ok this is working.

window.location.href = "Emp_new.asp?dept_id=" + this.value + "&emp_user_id= " + document.forms("emp").emp_user_id.value;

but each time when i change the listbox it increased the empty space behind the "emp_user_id" field value and show %20% each time in the url.
I am using vbscript.So please if you have any solution.
thanks
peterr


Posts: 5971
Posted: 04/08/2004, 1:10 AM

Possibly the space after the "=" sign is causing this?
Please try changing "&emp_user_id= " to "&emp_user_id=".
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
Tauqeer Nawaz
Posted: 04/08/2004, 2:15 AM

Hi,
thanks very much.
Yes this was the problem.Now it solved.

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.