omg
I have rewritten that part like 10 times and thats the problem. I forgot the ID tag in the inputfield :s
thanks acoder
for the value from the textbox it gets tested
if (is_int(str)==f alse) the is_int checks if it is a number or not
1000* thnx acoder
I have been looking at that code for houres and houres :)
User Profile
Collapse
-
4aces replied to Javascript combined with php. (works in explorer but not in firefox) getElementByIdin Javascriptwhat should I parseInt/Float afterwards?
srr I got the function for checking if it is an integer from a differend site I'm still very new at this :)
I have been trying a differend approach via the
but this seems to be giving even more issues :)Code:eval("document.forms['formulier']."+naam+"txt.value")="";
(solved that issue via:
...Code:var formObj = eval("document.formulier."+naam+"txt");Leave a comment:
-
4aces started a topic Javascript combined with php. (works in explorer but not in firefox) getElementByIdin JavascriptJavascript combined with php. (works in explorer but not in firefox) getElementById
Dear community,
I created a small form witch is supposed to automatically calculate the price via onKeyUp=()
and in explorer all is working fine but in explorer the script goes exactly untill the following line.
document.getEle mentById(naam+" txt").value='' ;
after that the script quits no error it just stops.
I'll try to make the code as short as possible
...Code:<html>
Last edited by acoder; Nov 17 '11, 01:36 PM.
No activity results to display
Show More
Leave a comment: