Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
3 Ответы
4763 Представления

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..

Аватар
Отменить
Автор

Still no answer yet.. :(

+1 want also to know

Автор Лучший ответ

Still no answer yet.. :(

Аватар
Отменить
Автор Лучший ответ

still no answers yet .. :(

Аватар
Отменить
Автор Лучший ответ

desperately need your help guys :(

Аватар
Отменить