[web2py] Re: JQuery Issue in Web2py: JQuery programs dont seem to work

2013-09-17 Thread Niphlod
nope... the first question would be to open the console and see what js errors are there :-P Il giorno martedì 17 settembre 2013 07:46:45 UTC+2, Tim Richardson ha scritto: > > > > On Tuesday, 17 September 2013 07:25:47 UTC+10, Horace Cunningham wrote: >> >> I am having this strange issue in web2

[web2py] Re: JQuery Issue in Web2py: JQuery programs dont seem to work

2013-09-16 Thread Tim Richardson
On Tuesday, 17 September 2013 07:25:47 UTC+10, Horace Cunningham wrote: > > I am having this strange issue in web2py where Jquery applications such as > the datepicker does not work. The Jquery file is present but nothing works. > I have tried replacing the Jquery file, commenting it out and ad

Re: [web2py] Re: JQuery Issue

2013-06-27 Thread Tom Russell
I use chrome but I will have to try that. Thanks. On Thu, Jun 27, 2013 at 3:31 PM, Jim S wrote: > Do you use firefox and firebug? > > You can use the javascript console there to display to you any errors that > might be occurring in your javascript. You may have an issue earlier on in > your p

Re: [web2py] Re: JQuery Issue

2013-06-27 Thread Jim S
Do you use firefox and firebug? You can use the javascript console there to display to you any errors that might be occurring in your javascript. You may have an issue earlier on in your page (with javascript) that is preventing the execution of your stuff later on. -Jim On Thursday, June 27

Re: [web2py] Re: JQuery Issue

2013-06-27 Thread Tom Russell
So If I do something like: jAlert('This is a custom alert box', 'Alert Dialog'); and nothing shows up, could it be that the jquery lib is not being made available? On Thu, Jun 27, 2013 at 11:00 AM, Tom Russell wrote: > k thanks I will try that > > > > On Thu, Jun 27, 2013 at 10:58 AM, Jim Ste

Re: [web2py] Re: JQuery Issue

2013-06-27 Thread Tom Russell
k thanks I will try that On Thu, Jun 27, 2013 at 10:58 AM, Jim Steil wrote: > I'd try putting some alert() messages in to try to trace the flow and > check the values of variables. > > > > On Thu, Jun 27, 2013 at 9:53 AM, Tom Russell wrote: > >> Thats weird, now it will not hide the the field

Re: [web2py] Re: JQuery Issue

2013-06-27 Thread Jim Steil
I'd try putting some alert() messages in to try to trace the flow and check the values of variables. On Thu, Jun 27, 2013 at 9:53 AM, Tom Russell wrote: > Thats weird, now it will not hide the the field but has no effect either > when you check the checkbox. > > > On Thu, Jun 27, 2013 at 12:11

Re: [web2py] Re: JQuery Issue

2013-06-27 Thread Tom Russell
Thats weird, now it will not hide the the field but has no effect either when you check the checkbox. On Thu, Jun 27, 2013 at 12:11 AM, Jim S wrote: > Try this, you need brackets for your if statements in javascript. > > jQuery(document).ready(function(){ > jQuery('#no_table_mothers_name__row'

[web2py] Re: JQuery Issue

2013-06-26 Thread Jim S
Try this, you need brackets for your if statements in javascript. jQuery(document).ready(function(){ jQuery('#no_table_mothers_name__row').hide(); jQuery('#is_newborn').change(function(){ if(jQuery('#is_newborn').attr('checked')) { jQuery('#no_table_mothers_name__row').show(); } else