I agree with mustafaneguib ajax seems the best way to achieve this, I used ajax on some calculators on one of my sites to prevent the need for reloading the entire page on entry changes. Having the backend database checked every 15 minutes (or whatever - could have it user set) would be easy...
No, I have a number of XML feeds that I wish to check for a particular product and price of and then compare. Actually that sounds like a comparison site which this isn't for. Although maybe they do it in a similar fashion.
I've tried reading up on XML feeds etc. but getting more and more...
Not sure if it was your intention or not but the site looks as if it shifted to the right with a large..ish grey left hand menu (although only has home and privacy as options). I thought it could be screen size as widescreen but seems to happen whatever screen size I use. Using FF 3.05. Other...
Hey Raysor, Your site has certainly gone through a few changes over the year. Are you still down Seven Oaks way (or was it Orpington - terrible memory)? I'm going down towards Seven Oaks...
Nearly it would be
var x = document.form["variable["+i+"]"].value;
the period is missing when using an array as you say if reference the cell with a none array variable (technical terms lol) you would do
var x document.form.variable.value;
I've used php before and I remember it...
As always thank you Chris. Figured it all out with your help of course.
This is the code you need to access the variables from js:
document.form["variable["+i+"]"].value = "";
document.getElementById(["variable["+i+"]"]).innerHTML = "";
Actually that blanks them but you can have...
I tried but using name="bm1odds" in the form doesn't seem to be allo
wed as I can't reference it with x = document.form.bm1odds.value;
I tried using name="bm1odds", missing the i out but that doesn't seem to work either, or maybe I am trying to reference it incorrectly.
Yes its much easier in php!
I will give it a go thank you. Although I tried arrays naming for the form earlier and thought it didn't work. Try again anyway may have got it wrong.
All the best.