brianpercival
Programmer
I have on a button a simple onclick="location.href='<cfoutput>#CGI.SCRIPT_NAME#</cfoutput>?&add=yes'"
(the cfoutput tags are coldfusion, just ignore them)
and the onclick doesn't work..
thinking it is a coldfusion problem I tried with
and it doesn't work either.
however if I put a alert('hi') before the location.href, I see the alert.
can anyone plz tell me what's happening?
regards,
Brian
(the cfoutput tags are coldfusion, just ignore them)
and the onclick doesn't work..
thinking it is a coldfusion problem I tried with
and it doesn't work either.
however if I put a alert('hi') before the location.href, I see the alert.
can anyone plz tell me what's happening?
regards,
Brian