[Top] [All Lists]

How to pass url varible in JS?

Subject: How to pass url varible in JS?
From: "Adomacro"
Date: Mon, 13 Aug 2007 15:40:10 +0000 UTC
Newsgroups: macromedia.coldfusion.cfml_general_discussion

I want to replace this link with a javascript
 <a href="edit_frm.cfm?id=#id#" target="_blank">

 How can i pass url varible in JS?.
 <script Language="JavaScript">
 var openWin = null;    
 function winOpen(){
 openWin ='add_frm.cfm?id=<cfoutput>#id#</cfoutput>','addWin','width=400,heigh
 code to call JS
 <a href="javascript:winOpen()" target="_blank">

<Prev in Thread] Current Thread [Next in Thread>