The first thing that I would like to point out is that I am like a nervous programmer or nervous learner. I feel like I want to learn things fast, so I start checking websites and books very quickly and If I feel like what I am reading doesn't satisfy my need then I just close it and start doing something else. I am just wondering if that kind of behavior sounds familiar to you.
I have the following problem. I am just starting to learn how to program in web2py and I need to store javascript input in a sqlite database, so for example I have the following table:
db = DAL ('sqlite://storage.sqlite')
db.define_table('company', Field('name', notnull = True, unique = True), format = '%(name)s')
db.define_table(
'contact',
Field('name', notnull = True),
format = '%(name)s'
)
and I have the following script code
li.innerHTML = document.getElementById('task').value;
so I need to store that document.getElementById in the database. Can u point out the topics that I need to study in order to accomplish such task?