Forum: JavaScript / DHTML / AJAX Aug 23rd, 2008 |
| Replies: 2 Views: 1,589 Re: Calling a Javascript Function in InnerHTML hi,
code is tested and works fine in firefox 2. it is not an issue anyway as this page is for an internal resource at my college and users do not have firefox installed.
anyways - i came to post... |
Forum: JavaScript / DHTML / AJAX Aug 22nd, 2008 |
| Replies: 2 Views: 1,589 Calling a Javascript Function in InnerHTML Hello everyone - firstly apologies... long post ahead.
I was wondering if someone could please help me out a little. I just can't figure this out!
I am trying to call a javascript function which... |
Forum: JavaScript / DHTML / AJAX May 20th, 2008 |
| Replies: 3 Views: 2,491 |
Forum: JavaScript / DHTML / AJAX May 16th, 2008 |
| Replies: 3 Views: 2,491 Javascript Input Mask / Validation Hi all,
I was wondering if somebody could help me...
I have a form field which I want to lock down so users can only enter a specific combination
eg. first character is a letter - can be either... |
Forum: C Jun 25th, 2005 |
| Replies: 8 Views: 2,133 Re: array / data comparision help thanks again for your time dave, but im afraid im still not getting it - its really frustrating me, i just cant seem to grasp the concept of the arrays :sad:
here is the code i have got - the rest... |
Forum: C Jun 25th, 2005 |
| Replies: 8 Views: 2,133 Re: array / data comparision help im still not with it... basically this is what i am trying to acheive
screen display of text file - including town name - with a total at the end of each row and a average at the bottom of each... |
Forum: C Jun 25th, 2005 |
| Replies: 8 Views: 2,133 |
Forum: C Jun 24th, 2005 |
| Replies: 8 Views: 2,133 array / data comparision help Hi all.. wonder if anyone can guide me. I am writing a program which reads values from a text file, the text file includes both characters and float values, below is a sample of the data..
The... |
Forum: C Mar 17th, 2005 |
| Replies: 9 Views: 1,938 Re: arrays yes, i figured it out now, i realised that it was trying to read in far too many values but it is working fine now..
thanks again |
Forum: C Mar 17th, 2005 |
| Replies: 9 Views: 1,938 Re: arrays never mind, its sussed now, was a simple error on my part!! |
Forum: C Mar 17th, 2005 |
| Replies: 9 Views: 1,938 Re: arrays can someone have a look at this for me please? i cannot understand why i am getting all the spare 0.00 numbers when i compile!
a text file is required as before, the details are in my first post in... |
Forum: C Mar 17th, 2005 |
| Replies: 9 Views: 1,938 Re: arrays thanks for your response guys,
I had actually just about figured it out before I read the resonses but they were really helpful, just pushed me in the right direction!
thanks again guys |
Forum: C Mar 17th, 2005 |
| Replies: 9 Views: 1,938 arrays hi, wonder if anyone can help me.
I have a text file with the following format:
town_name followed by 12 real numbers... |
Forum: C++ Dec 15th, 2004 |
| Replies: 1 Views: 1,945 input length in c++ is it possible to have a maximum length of an input, say i am entering a number - is it possible just enforce a rule which says that only a 2 number integer can be entered? i.e 01, 02, 03, 10... |
Forum: C++ Dec 15th, 2004 |
| Replies: 8 Views: 2,171 Re: validation of some kind thanks - but ive finally got it working!!! below is the code i have used..
thanks so much frrossk - really appreciate it! i'll buy u a beer lol
if (day == 'a' || day == 's' && call_dur <= 3)
... |
Forum: C++ Dec 15th, 2004 |
| Replies: 8 Views: 2,171 Re: validation of some kind thanks again, i realised that it wasnt actually getting to the other bits as the first condition was always being met..
so i rewrote the code to this.. but.. it still doesnt seem to work :(
/*... |
Forum: C++ Dec 15th, 2004 |
| Replies: 8 Views: 2,171 Re: validation of some kind thanks so much frrossk!! you are a star!
//How should your calculations work? I mean, what do you want them to output?
right ... ok now here is how the calculations should work..
/*... |
Forum: C++ Dec 15th, 2004 |
| Replies: 8 Views: 2,171 Re: validation of some kind hi,
thanks, yes i know the code compiles fine, but i want to put some sort of control in there - whereby if the calculation for call duration is greater than 600 then i want the program to alert me... |
Forum: C++ Dec 15th, 2004 |
| Replies: 8 Views: 2,171 validation of some kind Hi, i have written a program for my assignment, however i need a little bit of help..
the program is written in c++ and im using the bloodshed compiler - www.bloodshed.net
i need to put some kind... |
Forum: C++ Dec 13th, 2004 |
| Replies: 10 Views: 2,015 |
Forum: C++ Dec 13th, 2004 |
| Replies: 10 Views: 2,015 Re: please help me - extremely clueless :( Yeah, i mean the code works fine as it is.. but it doesn't quite work in the way i want it to.
I need to enter a single letter to display a day name .. ie
M= monday
U= tuesday
W= wednesday
T=... |
Forum: C++ Dec 13th, 2004 |
| Replies: 10 Views: 2,015 |
Forum: C++ Dec 13th, 2004 |
| Replies: 10 Views: 2,015 Re: please help me - extremely clueless :( well - i just need help in knowing how to structure them, i mean i think i have understood the problem but just cannot seem to put it in code correctly - there is lots of validation that needs to be... |
Forum: C++ Dec 13th, 2004 |
| Replies: 10 Views: 2,015 Re: please help me - extremely clueless :( thanks for that jwenting, i have had a look at the announcment - and have posted what i have so far - i am trying.. honestly! it's just that i can't seem do this on my own - im not asking anyone to... |
Forum: C++ Dec 13th, 2004 |
| Replies: 10 Views: 2,015 Re: please help me - extremely clueless :( this is what i have so far
#include <stdio.h>
const float hi_rate=1.50;
const float norm_rate=0.30;
const float max_dur=600;
char day;
int st_hr, end_hr, st_min, end_min, call_dur, total_calls,... |
Forum: C++ Dec 13th, 2004 |
| Replies: 10 Views: 2,015 please help me - extremely clueless :( hi all, i need urgent help. i am currently learning c++ and i have been given a program to write, I am really struggling with it and as it is an assignment whic needs to be handed in tomorrow i... |