> I get this JavaScript error 
> on the mouseover below: Expected ')'

> <tr onMouseover="HighLightTR('##f0f0e1');"
ondblclick="self.location=('getinventory4.cfm?id=#id#&lname=#lname#&fnam
e=#fname#&serialnumber=#serialnumber#');">

> When I just use the ?id=#id# after getinventory4.cfm 
> I do not get an error, but I need to pass the other 
> parameters as well. 

Robert,

Is the code above wrapped in CFOUTPUT tags?  I ask because I just ran
the following code on my site:

self.location=('myPage.cfm?id=#id#&lname=#lname#');

When I arrived at the page on my site, I saw this in the address bar:

myPage.cfm?id=#id&lname=lname

So, it's stripping out those extra hash marks and the browser will treat
everything to the right of "id=" as a page anchor address, and you'll
have no query string vars passed.  Are you sure that the error is being
thrown by the mouseover code and not some JavaScript on the new target
page?  If you are sure, I'd have to see the HighlightTR function to go
further.

Hope this helps,
Matthieu

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222980
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to