Again, I am calling the file correctly... It just stops working when I change "window.location.href = 'index.php?view=add';" to "submit();"
I would like to know why this is happening.
2006-08-24
09:24:19 ·
update #1
Guys, I appreciate the effort. I really do. But PLEASE read the question in its entirety first.
Ben : I already mentioned that the .js file is working fine, it is the function that isnt.
computrec: submit(); does not need definition. And I can only assign a type and value to an input.
iyiogrenci: submit(); is not the function. I intend on validating the for within the .js file, if not for that, I would simply say onclick=submit();
rknoblock: I already said I would validate.
2006-08-24
10:30:13 ·
update #2