Hi Friends,
I have a page in which there is a button called submit and code like this
input name="result" value="Submit" id="Submit" onclick="return
submitted(this.value)" type="submit"
function submitted(arg1){
if(confirm("Are you sure you want to PASS the case ?"))
{
return true;
}
else
{
return false;
}}
Now I need to get the submitted functions return value in greasemonkey, I
tried this but it doesn't works
var returnvalue = = unsafeWindow.passedClicked;
basically whenever the button was clicked and in confirm box if okay was
selected I need to do some operation. Thanks in advance.
--
You received this message because you are subscribed to the Google Groups
"greasemonkey-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/greasemonkey-users.
For more options, visit https://groups.google.com/groups/opt_out.