Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
4749 Zobrazení

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
Zrušit
Autor

Still no answer yet.. :(

+1 want also to know

Autor Nejlepší odpověď

Still no answer yet.. :(

Avatar
Zrušit
Autor Nejlepší odpověď

still no answers yet .. :(

Avatar
Zrušit
Autor Nejlepší odpověď

desperately need your help guys :(

Avatar
Zrušit