Welcome Guest, Not a member yet? Register   Sign In
jQuery Context Menu Issue
#1

[eluser]adamp1[/eluser]
I know this probably aint the best place, but th jQuery community does't seem to be has friendly as this CI one.

Anyway onto the problem. I want a very simple contextmenu to when I click an item it does something. Now this code is as basic as I can think of (just to try my point).
Code:
$('span').bind('contextmenu',function(e){
   this.text(this.text() + '.');
   return false;
});

So all I want it to do is when I right click on it, it had a . at the end. Now it does this, but it adds 4 dots? I have no idea why either. Can anyone explain?


Messages In This Thread
jQuery Context Menu Issue - by El Forum - 02-27-2008, 05:37 PM
jQuery Context Menu Issue - by El Forum - 02-27-2008, 05:39 PM
jQuery Context Menu Issue - by El Forum - 02-27-2008, 07:28 PM
jQuery Context Menu Issue - by El Forum - 02-27-2008, 08:20 PM
jQuery Context Menu Issue - by El Forum - 02-28-2008, 02:37 AM
jQuery Context Menu Issue - by El Forum - 02-28-2008, 02:48 AM
jQuery Context Menu Issue - by El Forum - 02-28-2008, 02:53 AM
jQuery Context Menu Issue - by El Forum - 02-28-2008, 02:59 AM
jQuery Context Menu Issue - by El Forum - 02-28-2008, 03:49 AM



Theme © iAndrew 2016 - Forum software by © MyBB