Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 10052

Re: Suppress new window (write-back to HANA)

$
0
0

Hi Sjoerd,

 

Try the first line (rest are here for context reference to my blog code) in your XSJS code

 

 



var output = "<body onload=\"window.open('', '_self', ''); window.close();\">";


output =  output + "Article: " + v_article_id + " updated to New Sale Price: " + v_sale_price + " <br><br>";


$.response.setBody(output);

 

in IE9, window opens and immediately closes

In Chrome, it crashes.

 

This is the closest I can get to.

 

Thanks.


Viewing all articles
Browse latest Browse all 10052

Trending Articles



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