In my ajax function call am using target :eval to do some actions from controller. And my controller function returns value with web2py HTML functions def ajaxmessage(): return "jQuery( #divAjaxTest ).html(%s);" % repr(H1( ajax message )) #not returning any value.
But if it is just a text with repr() then it is returning fine. return "jQuery( #divAjaxTest ).html(%s);" % repr( ajax message ). #this is working fine
I am new to web2py, may be it is a small problem. Please let me know how to solve this. Thanks in advance.