Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 25th, 2012  |  syntax: None  |  size: 0.50 KB  |  hits: 13  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. How to access the query string value pass to a modal popup by an href by using coldfusion
  2. <!--- Create a modal window --->
  3. <cfajaximport tags="cfwindow" />
  4. <cfwindow name="modal_window" title="Modal Window" modal="true" center="true" width="900" height="520" resizable="false" />
  5.  
  6. <script type="text/javascript">
  7. <!--
  8. function open_modal(val)
  9. {
  10.     var url = "modal_window.cfm?qs_name=" + val;
  11.  
  12.     ColdFusion.navigate(url, "modal_window");
  13.     ColdFusion.Window.show("modal_window");
  14. }
  15. // -->
  16. </script>