REGISTER
|
Search Tycoon Talk
|
Freelancer.com
|
Members
Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.
Register Here
Forum Rules
JavaScript Forum
You are currently viewing our JavaScript Forum as a guest. Please
register
to participate.
Login
Remember Me?
Login via Freelancer.com
Tycoon Talk
>
Web Development and Programming Support
>
JavaScript Forum
>
Suppressing the Cntrl S bubble in jquery
Link Back
Thread Tools
Search this Thread
Suppressing the Cntrl S bubble in jquery
06-16-2011, 05:58 AM
#
1
(
permalink
)
Suppressing the Cntrl S bubble in jquery
numbenator
Webmaster Talker
Posts: 523
Location: London
Trades:
0
Talkupation:
HI everyone.
I want to create my own cntrl S function which i have done in the below way
e = jQuery.Event("keydown");
e.which = 83;
e.ctrlKey = true;
if (e.ctrlKey && e.keyCode == 83) {
alert ("Save Restaurant");
}
BUT the defail Cntrl S ( save page ) always kicks in.
Could someone please help me in showing me how i surpress this plesae.
Thanks very much
__________________
Please login or register to view this content.
Registration is FREE
Register
now for full access!
06-16-2011, 06:53 AM
#
2
(
permalink
)
Re: Suppressing the Cntrl S bubble in jquery
lizciz
Super Spam Talker
Posts: 807
Name: Mattias Nordahl
Location: Sweden
Trades:
0
Talkupation:
As chris said in your previous thread, have you tried returning false?
__________________
Your answers will only be as good as your question. Formulate it well and give all the necessary information.
06-16-2011, 06:56 AM
#
3
(
permalink
)
Re: Suppressing the Cntrl S bubble in jquery
lizciz
Super Spam Talker
Posts: 807
Name: Mattias Nordahl
Location: Sweden
Trades:
0
Talkupation:
Actually, have a look at this little handy jQuery plugin instead. Found it by searching for "jquery ctrl s" on google...
http://www.gmarwaha.com/blog/2009/06...jquery-plugin/
__________________
Your answers will only be as good as your question. Formulate it well and give all the necessary information.
06-16-2011, 07:13 AM
#
4
(
permalink
)
Re: Suppressing the Cntrl S bubble in jquery
numbenator
Webmaster Talker
Posts: 523
Location: London
Trades:
0
Talkupation:
Ah thats links wicked.
Thanks very much.
__________________
Please login or register to view this content.
Registration is FREE
« Reply to
Suppressing the Cntrl S bubble in jquery
Previous Thread
|
Next Thread
Tycoon Talk
>
Web Development and Programming Support
>
JavaScript Forum
>
Suppressing the Cntrl S bubble in jquery
Thread Tools
Search this Thread
Show Printable Version
Email this Page
Search this Thread
:
Advanced Search
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
BB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Trackbacks
are
Off
Pingbacks
are
Off
Refbacks
are
Off
Forum Rules
Feeds:
RSS
JS
XML
Feeds for this forum:
RSS
JS
XML
LinkBack
LinkBack URL
About LinkBacks
Bookmark & Share
Digg this Thread!
Add Thread to del.icio.us
Bookmark in Technorati
Tweet this thread
Page generated in
1.05250
seconds with
12
queries