hello anthony,
i have a doubt in web2py.
I
am developing an application using web2py. In my view i have an onclick
event which is using an ajax function to send the data to the
controller and the controller will process the value and send back the
data to view.How to get the value in view i want to display in the webpage.
View:
onclick='ajax("{{=URL('default', 'test', args=[textname[i], '2', 'tamil'])}}",[], ":eval");'
controller:
if (request.args[2]=="tamil"):
if (int(request.args[1])==1):
galatta = get_hlink('
http://www.galatta.com/tamil/reviews/','','href="/tamil/reviews/',name_key,'','')
messag=get_content(galatta,'itemprop="description"','itemprop="image"','')
return messag