Create a method on the 1st page that stores or sets the values you want (on the 1st page).
function setX(data)
{
//code to set or store "data"
}
Call that method on the second page, in the onClick event of the checkbox, passing whatever value you want...
I have several functions that are somewhat redundant, and I would like to get rid of multiple functions by passing the "control" that the function is operating on as a parameter.
For example, currently we have:
function x1(data)
{
window.document.myForm.text1.value = data;
}...
escape() and unescape() will do nothing with "/" and "\".
If you are going to have parameters with slashes, you will need to change them yourself.
I understand that there are still ways to duplicate the actions of the right click menu.
(why do people always just say "don't bother"?)
I simply want to get rid of the right click menu, with no alerts. We want the pop-up as simple as possible for the users.
Thats all...
I am looking for a good way to disable the right click, that does not produce an alert - and that is cross browser. (We test in IE 5+, NS 6+, and Opera 5+).
We have an app that will pop up windows that allow users to chose from a set of options, then add those selections to the main page.
I...
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.