Got it! Had to update the jquery version.It's working now.Thanks Anthony.
On Mon, Sep 26, 2016 at 4:43 PM, Anthony wrote:
> On Monday, September 26, 2016 at 1:53:38 AM UTC-4, @brooks wrote:
>>
>> Thanks Anthony.I corrected the two things you pointed out and then
>> che
More generally, always check the browser Javascript console for errors.
>
> Anthony
>
>
> On Saturday, September 24, 2016 at 7:05:25 AM UTC-4, @brooks wrote:
>>
>> Hi,
>> I want to use flot charts in my application.I tried running an example
>> which requi
Hi,
I want to use flot charts in my application.I tried running an example
which required jquery.js ,jquery.flot.js ,jquery.flot.navigate.js files.I
uploaded all these files in the static/js folder and in the view I used
I also uploaded some images and included them in the view as follows:
..
#x27;),100);
{{pass}}
{{end page_js}}
Enter code here...
When using social login ,it is getting redirected to
this(https://energymanagement.rpxnow.com/redirect?loc=886356b0b22cc3d0fe90facabed8cea552c467e4which
I do not understand).I am doing this for the first time.I have followed the
ins
he Restaurant table?
>
> Anthony
>
>
>
>
>
> On Friday, September 2, 2016 at 2:27:23 PM UTC-4, @brooks wrote:
>>
>> I want to select those records in the Menu table such that the name of
>> the restaurant with id in the Menu.restaurant field
>&
I want to select those records in the Menu table such that the name of the
restaurant with id in the Menu.restaurant field ==request.args(0).So,what
should be the DAL query here?
On Fri, Sep 2, 2016 at 6:51 PM, Anthony wrote:
> indices=db(db.Menu).select()
>> for index in indices:
>> t=db(
r/func()
indices=db(db.Menu).select()
for index in indices:
t=db(index.restaurant.Name==request.args[0]).select(db.Menu.ALL).first()
if t:
record=db.Menu(t.id)
form=SQLFORM(db.Menu,record).process()
......
ave one record in the Menu table now)
The question is that the first record gets selected even if the condition
is not true.I do not understand it.Please tell me what I am doing wrong.Any
help is appreciated.
Regards,
Brooks
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentat
I am doing the following to pass the javascript variable from the view to
the controller:
##default/rough2.html
{{extend 'layout.html'}}
var x=document.getElementById("demo");
jQuery(document).ready(function(){
geolocation();
})
function geolocation() {
if (navigator.geol
ing a common filter.
>
> On Saturday, 18 June 2016 07:47:42 UTC-5, @brooks wrote:
>>
>> Hi,
>> I am new to python as well as web2py.I am trying to make an application
>> where i am thinking of having a different table for every user and store
>> every user
Hi
I am trying to make an online calendar.Now,to add an event to a particular
date I m doing the following:
-the user clicks on a date and an event window pops up and the event
inserted is then added to the database.
-so,when the user clicks the (date) element ,the "event" window has to
pop up w
Hi,
I am new to python as well as web2py.I am trying to make an application
where i am thinking of having a different table for every user and store
every user's data in his table.But i do not know how to do it?Moreover,is
it better than just adding a "user" column in one single table?
--
Re
I can't find any documentation of the hideerror feature, but looking at
html.py, I don't see how the above example would work:
INPUT( _type='radio', _name='age', _value='5', _id='age5', hideerror=True,value
=self.request.vars['age'])
The hideerror flag seems to work if you do this, though:
inp
13 matches
Mail list logo