the functions used are: <Select name=MaxBuyerCode onChange=”<%=display(document.usercreateform.MaxBuyerCode.selectedIndex.value)%>);”> the function display is and include file .inc which is <% Function display(chosen) ???? ???? End Function %> this gives an error…… how can i pass the selected index value from onchange to this vb script(display.inc file) such that it returns me the selected index value and displays [...]
Answer Question | April 20, 2009 7:18 AM
ASP, Java, onChange Event, PHP, SelectedIndex, VBScript
Hello I am running a script that when searching for a property, it uses the onchange feature for three fields regarding the location of the property. for example: Country, State, City When you choose a country, you then choose a state(which correspons to the country) and then a city(that corresponds to the state) Thing is, [...]
Answer Question | March 25, 2009 2:11 AM
I’m calling a function through <select onChange=”funcname()”><option>. inside that function I got the selectedIndex value, but when I used that value as an index to get an array item which is declared in the <head> section and filled in the <body> I failed it always gets nothing.Does any one know why?
Answer Question | January 29, 2009 5:25 AM
onChange Event, passing an array to a function, SelectedIndex, VBScript, Web development