im creating a page that will automatically gets the values inputed in a textfield and automatic add them.
what can i do to make something like that.
i started a code something like this but what if there were 1000 of fields..
heres my code:
function getVal(){
var doc = document['oFrm'];
doc['tot'].value = ((doc['id1'].value)/1) + ((doc['id2'].value)/1);
}
...
User Profile
Collapse
-
adding mutiple values
-
I need help
Im new to Javascript, and im doing a page and im creating a page that has a tab menus.. which each tab are images.
i dont know what to do with the error, it goes something like this:
document.getEle mentById(id) has no properties
heres my code:
function setActiveTab(id )
{
var a = new Array;
a = ("img1", "img2", "img3");
document.getEle mentById(id).sr c...
No activity results to display
Show More