تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3 الردود
4765 أدوات العرض

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 :(

الصورة الرمزية
إهمال