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 |
|
|
Tauqeer Nawaz
|
Posted: 04/08/2004, 2:15 AM |
|
Hi,
thanks very much.
Yes this was the problem.Now it solved.
|
|
|
|