Hi All -
I have a dropdown which calls a javascript function on onchange event. The
onchange function is as follows:
function on_change(arg1) {
document.forms[0].action = Include/index.cfm?var1= + arg1;
document.forms[0].method = post;
Change this:
document.forms[0].action = Include/index.cfm?var1= + arg1;
To this:
document.forms[0].action = /Include/index.cfm?var1= + arg1;
On Thu, Jun 17, 2010 at 10:40 AM, fun and learning
funandlrnn...@gmail.comwrote:
Hi All -
I have a dropdown which calls a javascript function on
Hi there,
My guess would be that the first line in your function should become
document.forms[0].action = /Include/index.cfm?var1= + arg1; (note the
starting slash)
This is ebcause of how urls work. In short if you don't start with a slash
it will open it in the current directory while if you
3 matches
Mail list logo