Is it me, I always thought variables could not start with a Capital letter.
I am referring to the variable 'Total'
Correct me if I am wrong here.
---------------------------------------
Thanks for your help,
Jon
http://www.freewebs.com/jonsbikes
:-)
<input type="text" name="name1" id="name1" value=""/>
---------------------------------------
Thanks for your help,
Jon
http://www.freewebs.com/jonsbikes
Thanks guys!
Kaht - I guess I need to start using them type of statements more regularly. They do the same job, with less lines. Thanks for your comments and advice on indenting my code. I will definitely put this to use. And, I have made an error on my FAQ, I have forgotten to put in my...
Bloody hell ... 3 replies already.. True.. you dont need javasript: unless dealing with links.
---------------------------------------
Thanks for your help,
Jon
http://www.freewebs.com/jonsbikes
Try providing a full link to the page
<input type='button' value='Click Me' onclick="javascript:window.location='http://www.PAGELINK.com/default.asp?page=2'">
---------------------------------------
Thanks for your help,
Jon
http://www.freewebs.com/jonsbikes
Do you mean like this?
function show_time()
{
var todays_date = new Date(); // gets current time and date
var get_month = todays_date.getMonth();
var month_string = month[get_month]; // Month in a string
var get_dom = todays_date.getDate();
var dom_string = day_of_month[get_dom]; //...
why indent my code?
I understand that you have to in other languages but why JavaScript.
Thanks for the advice on the rest, I never really got the chance to simplify it. Just made it and it worked well :-)
Apart from that? what do you think?
---------------------------------------
Thanks...
What do you guys mean. Im so confused :-)
Do you mean to make the variable a string?
How else could I have done it?
That was just off the top of my head...
You guys would have pissed yourself laughing if you had seen what I had programmed in before that. It was like nearly a page long. Then...
Can I call myself a programmer if i only deal with scripts :P
---------------------------------------
Thanks for your help,
Jon
http://www.freewebs.com/jonsbikes
I have the following script to show the time on my webpage
function show_time() {
var todays_date = new Date(); // gets current time and date
var get_month = todays_date.getMonth();
var month_string = month[get_month]; // Month in a string
var get_dom = todays_date.getDate();
var...
No problem now. The master has sorted it. Damn im good :)
---------------------------------------
Thanks for your help,
Jon
http://www.freewebs.com/jonsbikes
How do i locate my stylesheet throught JS?
Can you use JavaScript in your stylesheet?
I would like to make my background of my image highlight blue when i put my mouse over it.
I have alot of images. Is there any way that can save me defining the function for the onmouseover for every image...
I am defining measurements such as the margin-left attribute of a div. It is doubling in I.E therefore making it 2x the size. Is this meant to be happening?
Does I.E handle measurements differently to FF? I have also noticed that "Headings" seem to be much bigger in I.E than FF...
Thanks for all your posts.
Tracy, thanks for your link to a wonderful learning environment.
---------------------------------------
Thanks for your help,
Jon
http://www.freewebs.com/jonsbikes
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.