Bonjour,
Comment je peux avoir du JSON à partir d'une popup ?
Code:
1
2
3 window.open('url', '', 'height=200,width=250'); $.getJSON('url', function( data ) { });
Version imprimable
Bonjour,
Comment je peux avoir du JSON à partir d'une popup ?
Code:
1
2
3 window.open('url', '', 'height=200,width=250'); $.getJSON('url', function( data ) { });
tu le mets directement dans le code affiché dans le popup, dans la partie <script> </script>
ca fonctionnera pareil.