in .load file:
{{for i in range(0,3):}}
{{for j in range(0,3):}}
{{idd=str(i+1)+str(j+1)}}
{{=l[i][j]}}
{{pass}}
{{pass}}
function change(id)
{
ajax('{{=URL('default','deciser')}}'+'?at='+id,[],id);
}
def deciser():
return request.vars.at
def
In the browser network tab, what's happening with the Ajax requests? Are
they being sent as expected, and if so, what response is returned?
On Friday, June 10, 2016 at 8:14:55 AM UTC-4, Steve Joe wrote:
>
> in .load file:
> {{for i in range(0,3):}}
> {{for j in range(0,3):}}
> {{idd=str(i+1)+str(
Thank you both. So let's assume that I designed the dynamic form using only
jQuery and HTML and I have a submit button that POSTs the form to a
controller. How do I process that on the controller, since the form was not
created with web2py tools (FORM, SQLFORM etc)?
On Friday, June 10, 2016 at
On Friday, June 10, 2016 at 11:28:15 AM UTC-4, desta wrote:
>
> Thank you both. So let's assume that I designed the dynamic form using
> only jQuery and HTML and I have a submit button that POSTs the form to a
> controller. How do I process that on the controller, since the form was not
> create
am almost there... need little more advice. How to pass controller data to
a javascript var?
here is the original example I copied from, which uses a text file as
source. Works perfect.
// Initialize Fancytree
$("#alexTree").fancytree({
checkbox: true,
selectMode: 3,
source: {url: "test-issue
>
> var AlexTreeData = $([{{=XML(json_list)}}]);
>
Why are you putting it inside an array inside a jQuery selector? And how
would creating a variable make a difference -- a variable is just a pointer
to the data object?
Anyway, the problem appears to be that your data do not comply with th
I have now forked and pruned w2p-social-auth at the following:
https://github.com/DonaldMcC/w2p-social-auth basically only two changes
of substance:
1 It now uses appconfig to store the keys in so you will need to be on a
fairly recent web2py if you want to use this approach - alternatively j
Thank Anthony.
In the same context, how can I handle file uploads?
On Friday, June 10, 2016 at 6:59:40 PM UTC+3, Anthony wrote:
>
> On Friday, June 10, 2016 at 11:28:15 AM UTC-4, desta wrote:
>>
>> Thank you both. So let's assume that I designed the dynamic form using
>> only jQuery and HTML and
Well, Thanks Anthony and Leonel for excellent suggestions --
The issue went away when I ensure that each of the 16 forms generated had a
unique formname value.
However, I spent some time trying to combine this with Leonel's suggestion
to use ajax (with LOAD= ?). But didn't manage to figure that
On Friday, June 10, 2016 at 4:57:02 PM UTC-4, desta wrote:
>
> Thank Anthony.
>
> In the same context, how can I handle file uploads?
>
The file will also be in request.post_vars (as a cgi.FieldStorage object).
I think you should be able to pass it directly to the DAL .insert() method
as the val
Hello all. I am trying to get Jquery to work on a dropdown. I have the
tax payer example from the book working just fine.
if(jQuery('#taxpayer_married').prop('checked'))
But when I try to get the text of my dropdown it is not seeing it. Do I
have something wrong in my syntax?
if(jQuery('#
11 matches
Mail list logo