The following is likely what you were looking for to set the maxlength
attribute in a single call of the ready() function.
$(document).ready(function() {
$('#student_last_name').attr('maxlength','4');
$('#student_first_name').attr('maxlength','4');
$('#student_last_name__label').attr
> Note that most modern browsers do some conversions transparently, so
> you can type spaces and similar in the address bar and those will get
> converted in the actual request to %20-s and such - whether you want
> to keep that convenience functionality with web2py is a different
> m
You'll need to do this yourself. Check out the jquery multi file upload
plugin.
http://www.fyneworks.com/jquery/multiple-file-upload/
Kyle
On Tue, Nov 4, 2008 at 1:35 PM, BearXu <[EMAIL PROTECTED]> wrote:
> I mean can I choose more than one file and then click upload once?
> Do I need to design
For your unit test there's a few other basic things you should probably be
checking.
The host portion can contain dashes
http://my-site.com
The path portion can contain many/most characters ex:
http://my-site.com/path_to/my_file_for_'97.pdf
In this example there are underscores and an apostrop
nput, but this is not about the IS_URL validator. This
> is about web2py utterly rejecting any request that has and apostrophe (or
> other RFC-valid punctuation) in the middle of the path.
>
> -tim
>
>
> Kyle Smith wrote:
>
> A similar discussion happened shortly af
A similar discussion happened shortly after I started using web2py. If you
read through this thread you can see the discussion that Massimo and I had
on the topic. You probably want to jump down to around message 13 in the
thread.
http://groups.google.com/group/web2py/browse_frm/thread/414723e11c9
6 matches
Mail list logo