disbable back option by java script

Answer Posted / makya

window.history.go(+1) use in java script;
or
onunload =window.history.go(-1) in body tag

Is This Answer Correct ?    12 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the ‘Strict’ mode in JavaScript and how can it be enabled?

743


How is javascript different from java?

657


Which built-in method sorts the elements of an array?

765


How to remove duplicates from javascript array?

715


Explain mul function in javascript?

713


How do I start a javascript project?

644


Difference between the substr() and substring() in JavaScript?

729


What is the difference between local storage & session storage?

668


Explain a story about javascript performance problems?

682


What does unshift() function do in Javascript?

886


How to add a new property in existing function javascript?

704


What is javascript and its advantages?

732


What are the string methods?

678


What are the main uses of javascript?

715


Why is javascript used for web pages?

622