Wednesday, 1 February 2012

Closing new tab using javascript

Use this code
<script type="text/javascript"> function close_new_tab() {close();} </script>
<input type="button" name="" onclick="javascript:close_new_tab();return false;" value="Close" title="Close" />

Tag: Close, closing, input, javascript, new, tab, using, window

No comments:

Post a Comment

Parsing JSON w/ @ symbol in it

To read the json response like bellow @ concatenated with attribute                             '{ "@id": 1001, "@name&q...