The solution is rather simple and logical. I suppose you could have figured it out yourself.
What you have done is ---
<input type="radio" name="imposterPic" value="name" border="0">
in both the table rows... You should use different names to the radio...
The NaN comes because you are using parseFloat() function and there is no check if the value in the field is a valid number. This seems to be the only possible reason.
Just another suggestion. There seems to be a lot of repeated code in your functions. Instead it is possible to use just one...
This is what I am trying to do...
1. The function is added to disable right-click. So on right-clicking the page an alert is displayed, which should have prevented the context-menu.
2. If we keep holding the right mouse-button even after the menu is popped and press SpaceBar from keyboard, the...
How to disable the context-menu of the browser?
I already have a JS function for that but it is still not possible to prevent the right-click if the alert is removed by keypress while holding the mouse right-button.
My function is as below:
<SCRIPT>
function fnRightClickDisable() {...
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.