all groups > coldfusion flash integration > june 2007 >
You're in the

coldfusion flash integration

group:

Passing Variable in getURL



Passing Variable in getURL amy_jo
6/29/2007 8:23:03 PM
coldfusion flash integration: Having a little trouble,its probably something simple but I've not that
familiar with Java.

<cfinput type="button" name="EditPass" value="Edit Bus Pass"
tooltip="Click here to edit the selected bus pass."
onclick="getURL('BusPass.cfm?PASSID=+getBusPass.PassID');">

When I click the button it gives me the following error showing the correct
link:

Line 295 Char 1
Object Expected
Code ()
URL=http://....buspass.cfm?passID=13
Re: Passing Variable in getURL The ScareCrow
7/1/2007 11:29:43 PM
You have the final quote in the wrong place
<cfinput type="button" name="EditPass" value="Edit Bus Pass" tooltip="Click
here to edit the selected bus pass."
onclick="getURL('BusPass.cfm?PASSID='+getBusPass.PassID);">


Ken
AddThis Social Bookmark Button