Click here to Skip to main content
15,884,473 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
how can i implementing this method to save the form by pressing the CRTL+S. I dnt have any code. Suggest me some idea. Iam not able do cross method in browser.
Posted

You should not use Ctrl+S, because it would disrupt the standard browser behavior, as it is used for saving the page as HTML. I would recommend you to have some control like link button and do all you want on its click. The UI should not contain any hidden or non-obvious actions.

—SA
 
Share this answer
 
Comments
Ravimcts 24-Dec-13 3:04am    
Okay sir i got u point. thnks for suggestion.
can u do one more favour for this if u have some links or code hints. so plz suggest me,so that i can learn this also.
Sergey Alexandrovich Kryukov 24-Dec-13 3:13am    
Unfortunately, I have no idea how do you want to save a form. Probably, you need to send form data in the database and somewhere on the server side. But the form is designed specially for that. The link button I mention would be the Submit button. But you should already know that, otherwise having a form would be pointless. And, if you have a form, you should know how to get POST data on the server side.
And you should know yourself how you want to persist these data.

In a word, if something of the above is not so or just not clear to you, please let us know.

—SA
Ravimcts 24-Dec-13 4:56am    
thnks, i got it.
I am trying to do this job using JAVASCRIPT, iam try..

Thnks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900