Ok it turns out that BillyRayPreachersSon was right. I was certain I had the form around the table but when I check I found that, though it was around the table, it was between to trs, so I moved it to the very beginning of the table in which the table that was being modied was nested into, and...
sure the website is here: http://steffan.hostingposts.com/dlog/day.php?user=slloyd&pass=c3RlZmZhbnBhc3M=&day=13&month=7&year=2006
-Don't go off this page, the other pages are still being made, you could mess up the database.
-Go to the form at the bottom of the page. "Add a training"
-Change...
You could always just do this:
onClick="javascript:if(navigator.userAgent.indexOf('Firefox')!=-1) window.open('NutritionFacts/RESPECTVan.aspx', 'newWin', 'width=600, height=510, toolbar=0, directories=0, status=0, scrollbars=0, resizable=0, menubar=0, modal=yes')...
Hey everybody,
I'm not sure wether I should put this in the php forum or this forum, so if you know javascript and php, please help!
I am creating a form in which the user has the ability to create elements dynamically.
These elements are created using this code:
box="<input name=\"sets\"...
Ya it's because I mainly just wanted to know what the error meant, so I could change the code accordingly. I could give you everything, but it is very long, and I doubt anyone would want to go through the whole thing.
It doesn't say the error line. (well it just says the line that the javscript starts at, not any line in particular). I really doubt that this is an error with syntax, but I'm pretty sure that it has to do with something with something that the javascript is not able to do or something like...
The error occurs when this function is called upon:
function addWorkout(value,w){
var typea=null;
typea=new Array();
nullOptions(w,document.getElementById(w+"").getElementsByTagName("select")[1]);
if(document.getElementById(w+"...
I'm making a script and I seem to be getting this error:
Error: uncaught exception: [Exception... "Index or size is negative or greater than the allowed amount" code: "1" nsresult: "0x80530001 (NS_ERROR_DOM_INDEX_SIZE_ERR)" location: "***"]
I have looked on google for an answer, and lots of...
ok I tested the code, but it still doesn't work. I have done more tests though and know what the problem is, although I still don't know how to fix it.
The thing is I'm making a training log, and for each "Training" an athlete can do as many "interval" workouts as he wants. I have a drop down...
you can also do this:
<script language="javascript">
a="mai";
b="lto:";
c="username";
d="server.com";
document.write("<a href=\""+a+b+c+"@"+d+"\">"+c+"@"+d+"</a>";
</script>
I doubt any spiders would get your email from that.
Hey everyone,
I am currently making a form in which I need to be able to access multiple form objects of the same name.
I was under the impression that if you had 2 form elements with the same name an array would be automatically created so you could then access either of the elements like so...
Hey everybody,
I was just wondering if there is a way with javascript to make javascript run a function when the user types something into a text field - before he blurs it. I'm not looking for the onChange thing, I mean once the user types something into the textarea/textbox
Thanks in advance...
if I understand correctly, you could write this in the function:
elementsOrigVal=new Array();
for(i = 0; i < document.forms[0].elements.length; i++)
{
elementsOrigVal[i]=document.forms[0].elements[i].value;
document.forms[0].elements[i].value =...
Usually when you want to refer to a form element you do this:
document.formname.elementname.value
however, the way my javascript is made i need to use a variable that stores the name of the element to refer to it. For example:
var a = namefield;
document.formname.a.value;
However, all this...
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.