Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
3 Vastaukset
4751 Näkymät

I'm impressed by the way we can use jQuery inside OpenERP 7 but I want to know how to fetch data from a Python file using jQuery.

Here's the example content of the python.py's file:

print('testing')

and this is my jQuery code inside the XML :

$.get('blablabla/python.py',function(data){
    alert(data);
})

I want to alert 'testing', but I can only get print('testing').

Is the alert possible? and if so, how? please help me, will greatly appreciate it..

Avatar
Hylkää
Tekijä

Still no answer yet.. :(

+1 want also to know

Tekijä Paras vastaus

Still no answer yet.. :(

Avatar
Hylkää
Tekijä Paras vastaus

still no answers yet .. :(

Avatar
Hylkää
Tekijä Paras vastaus

desperately need your help guys :(

Avatar
Hylkää