Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3363

Issue while communicating to javascript

$
0
0

Hi All,

 

I am facing a small issue while communicating to javascript from .htm page. My current code is as below.

 

<% DATA:lv_url TYPE CRMT_IC_LTX_URL_PART1.
 SELECT SINGLE url   FROM ZMYTABLE   INTO lv_url  WHERE SYSTEM_NAME = sy-sysid. %><script type="text/javascript">
 var lv_url_js;
 lv_url_js = <%= lv_url %>.
 window.open(lv_url_js,"mywindow","menubar=1,resizable=1,width=350,height=250");  </script>

The issue is when I assign the variable lv_url to lv_url_js. If I just give www.google.com in window.open, it is working. But the above code is not working. Could anybody help?.


Thanks,

Faisa;


Viewing all articles
Browse latest Browse all 3363

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>