This'll seem like a bizarre question, but when using forms within an html page, is there a limit on the number of input fields that you can use? I have a problem whereby if I try and submit more than 100 fields back to my server, the fields come back as blank. If I reduce the number of fields to...
Sorry, what I meant was, is there any way to stop a decimal number having .99999 recursive after the decimal place? And what I meant by 9.2, was a maximum value of 999999999.99, ie , 9 chars before the decimal, 2 after. Is that possible client side, or am I going into the realms of impossibility.
Doh, shouldn't have spoken so soon ;)
Found a small problem. Tried changing the parseInt to parseFloat, and with some numbers it gives huge numbers after the decimal place. Any way I can limit the total to display in the format 9.2 (ie, 9 characted integer, 2 decimals?)
Sorry to keep asking!
theboyhope - that's spot on! Excatly what I was trying to do, thank you very much. Now I've got to try and make it work with multiple rows :D (ie, 6 rows of 7 days, all with individual totals). Eeep!
Hi, I have a page with 7 textboxes (corresponding to days of the week), into which the user can enter a value. I'm wanting a script that is called whenever the user changes a value in one of these boxes (so, presumably onBlur???) and adds up the total of all these boxes, then places it into...
Hi, I'd like to know how to setup a textarea in my form which can be no longer than 400 characters long (displayed as 5 lines of 80).
My code is as follows:
<textarea name="textfield" cols="80" rows="5" wrap="soft"></textarea>
Now, I would logically...
Instead of using a listbox, could you put the contents inside a layer (<div>) tag? You could use css to simulate the appearance of a regular listbox, and use the visibility style to show/hide the contents on the press of a key. You might even be able to find some fancy script that moves the div...
Thanks very much fishiface. I have to confess to being a bit baffled by all these modules and their installation. As I said, finding an 'idiots guide' to setting up has been difficult! I thought it was as simple as downloading the modules from CPAN, as they are listed their and a number of perl...
Hi, I'm trying to use the Mail::Mailer module to send emails from a webpage (my sysadmin can't get to grips with sendmail configuration - not that I'm surprised, it looks horrific, but I digress). My script contains the following code (and includes the line use Mail::Mailer; at the top)...
Stupid question this, but it just hit me- if I'm passing an email address to a server-side cgi script (from a webpage), do I have to inspect the address and put in an escape (backslash) before the "@" so perl doesn't interpret it as an array?
(probably a stupid question, I know.)
Hi, I need some help setting up sendmail. I'd like to be able to use it to send emails via smtp - what line(s) do I need in my sendmail.cf to acheive this?
I'm a bit of a novice at this so advice in words of one syllable or less would be great!
I agree with sim777. Surely it is the developers job to make life easier for the user, not to produce systems that are easier to code?
Sorry for going O/T :)
.. catch the browser going back? I was trying code along the lines of :
if history.back(1)
{
do whatever;
}
but it doesn't work. Is there any way of catching someone clicking the back button in IE?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.