Hello, I don't know if this is the appropriate place to post this, if not I apologize and ask that this thread be moved/merged...
Anyways I've made that riddle gae called The Calculator, and I've used simple Javascript to make it cool and unique, but one skill I haven't managed to get to work, is making some buttons change something in another object on the page...
Just out of randomness I tried putting in, let's say I wanna change the value of a button on the screen when you push a picture, so I put in onClick="B1.value='Something new'" (with B1 being the name for that button) and it worked, but then I found out that it's uneffective in Firefox, only in IE, can anyone tell me why?
Here's an example of what I'm talking about:
Can you test it with all browsers you have and tell me which ones work and which don't?
Anyways I've made that riddle gae called The Calculator, and I've used simple Javascript to make it cool and unique, but one skill I haven't managed to get to work, is making some buttons change something in another object on the page...
Just out of randomness I tried putting in, let's say I wanna change the value of a button on the screen when you push a picture, so I put in onClick="B1.value='Something new'" (with B1 being the name for that button) and it worked, but then I found out that it's uneffective in Firefox, only in IE, can anyone tell me why?
Here's an example of what I'm talking about:
Can you test it with all browsers you have and tell me which ones work and which don't?
Comment