ravula2000
IS-IT--Management
function fill(){
<% szXMLStream = myob.getlist(empid,<emptype>)
....
%>
}
This is a javascript function using ASP code. myob is a dll and getlist is a method which calls a stored procedure in the database and returns a stream object. The method accepts 2 parameters, empid and emptype.
Now my problem is ====
The <emptype> comes on from the first character of a listbox. When ever I change the type I need to call that function to get the new result set from the store procedure.
that means at <emptype> I could able to put the 1st char of the list box selcted value.
I declared a variable in asp - selectedetp and tried to assign the value like this..
<%selectedetp=%>theform.emptype.value
so that I can call the function.
But it is not working..
Some body can give me some sugestion.
Thanks