I have problems regarding fetching value from a text field, I have created a form in python/web2py as shown below:
form = FORM(DIV (DIV(SPAN(' First Name ', _class='signup', _style=''''''),INPUT(_name='fname', _style=''' float:right; width:200px; height:20px; border-radius:3px; border:1px solid #89BAD3;''', requires=IS_NOT_EMPTY())), DIV (SPAN(' Last Name ', _class='signup'),INPUT(_name='lname', _style=''' float:right; width:200px; height:20px; border-radius:3px; border:1px solid #89BAD3;''', requires=IS_NOT_EMPTY())))) now I want to pass the fname to a function like: checkuser(fname) but its not working, can anyone help me out in this please... I am waiting for response. On Monday, September 3, 2012 10:13:20 AM UTC+5, Amit wrote: > > Thanks Anthony :) > > Regards, > Amit > > On Fri, Aug 31, 2012 at 4:47 PM, Anthony <abas...@gmail.com > <javascript:>>wrote: > >> On Thursday, August 30, 2012 10:44:51 PM UTC-4, Amit wrote: >>> >>> As I told you I have created my own custom html without extending >>> layout.html. >> >> >> "I have created my own custom html" != "I have not loaded jQuery" >> >> :-) >> >> >>> I am not sure how to load JQuery in that? >>> >> >> It's just a Javascript library, so can be loaded like any other >> Javascript library. >> >> To get it from Google's CDN: >> >> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js" >> ></script> >> >> or if you have the version included with web2py: >> >> <script src="{{=URL('static', 'js/jquery.js')}}" type="text/javascript" >> ></script> >> >> Anthony >> >> -- >> >> >> >> > > --